From: Simon H. <sim...@us...> - 2010-11-18 14:21:23
|
Update of /cvsroot/stack/stack-dev/lib/ui In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv5138/lib/ui Modified Files: Tag: item_state_separation DisplayItem.php Log Message: Index: DisplayItem.php =================================================================== RCS file: /cvsroot/stack/stack-dev/lib/ui/DisplayItem.php,v retrieving revision 1.91.2.4.2.3 retrieving revision 1.91.2.4.2.4 diff -C2 -d -r1.91.2.4.2.3 -r1.91.2.4.2.4 *** DisplayItem.php 16 Nov 2010 19:04:31 -0000 1.91.2.4.2.3 --- DisplayItem.php 18 Nov 2010 14:21:15 -0000 1.91.2.4.2.4 *************** *** 1674,1677 **** --- 1674,1694 ---- } } + + /** + * Return array of the state of the display item, useful for caching. + * + */ + public function getState() { + $state = array(); + + } + + /** + * Sets the mutable state (probabaly obtained from the cache) for this DisplayItem. + * + */ + public function setState($state) { + // options, etc have already been loaded. just need current state. + } } ?> \ No newline at end of file |