Class EDOListModel
Object
|
+--GrvObject
|
+--MVCObserver
|
+--MVCModel
|
+--MVCListModel
|
+--EDOListModel
- class
EDOListModel
- extends MVCListModel
This class encapsulates a list model for EDOs.
Version: 2.0
Author: Bruce Wallace (PolyGlotInc.com)
Defined in grvEDO.js
|
Method Summary |
int
|
getActiveCount()
return the count of active EDOs associated with "this"
|
int
|
getVisibleCount()
return the count of viewable EDOs associated with "this"
|
boolean
|
isDirty()
return whether any EDOs are changed for this list
|
boolean
|
isValid()
return whether all EDOs are valid for this model
|
void
|
konstructor( <Function> edoClass, <String> optName )
|
void
|
pushPosts( <Array> posts )
push into given array all AJAX SAVE Post params for this model
|
void
|
toggleExpandAll( <boolean> newVal )
toggle the "expanded" flag of the EDO.
|
| Methods inherited from class MVCListModel |
clone, dump, hash, _pop, _push, _del, _reset, reset, getCount, getItem, getItemStr, addItem, delItem, iterate, addBefore, getMemento, setMemento
|
| Methods inherited from class MVCModel |
dumpSubscribers, toString, dirty, clean, publish, GET, _SET, SET, updateStamp, BeginTransaction, EndTransaction, addObserver, delObserver, notifyObservers
|
EDOListModel
EDOListModel()
Version: 2.0
Author: Bruce Wallace (PolyGlotInc.com)
getActiveCount
int getActiveCount()
return the count of active EDOs associated with "this"
getVisibleCount
int getVisibleCount()
return the count of viewable EDOs associated with "this"
isDirty
boolean isDirty()
return whether any EDOs are changed for this list
isValid
boolean isValid()
return whether all EDOs are valid for this model
konstructor
void konstructor( <Function> edoClass, <String> optName )
Parameters:
edoClass - the class of the EDO
optName - optional name of this instance
pushPosts
void pushPosts( <Array> posts )
push into given array all AJAX SAVE Post params for this model
Parameters:
posts - string array containing POST params
toggleExpandAll
void toggleExpandAll( <boolean> newVal )
toggle the "expanded" flag of the EDO.
Parameters:
newVal - value to set all of the EDO flags to
Documentation generated by
JSDoc on Thu Jan 6 12:47:09 2011