Class CMS_stack
Manages a stack. This stack is usually recorded into DB as a string and consists of a non-sorted stack of arrays. The arrays contains one or two values. It is decided when looking at the text definition or when adding the first element. The text definition format is : "key1,value1;key2,value2" for two-elements stacks "value1;value2" for one-elements stacks ---------------------------------------------------------- TODO : Completely remove this class from Automne This is a relicat from Automne v1 and this kind of data management is a pain in the ass but it is used in all oldest class Using native array functions of PHP is much more simple and fast. Seb
Located in /automne/classes/common/stack.php (line 38)
CMS_grandFather | --CMS_stack
Adds an element to the array
Deletes an element off the array
Deletes an element off the array that have the given key (at the first position)
Deletes all the elements off the array that have the given value at the position given.
Gets all the elements of the array.
Gets all the elements of the array with the value given as the first or second value (depends of the position).
Gets a value of first element corresponding to given key
Sets the text definition.
The string format is : "key1,value1;key2,value2" for two-values arrays "value1;value2" for one-value arrays
Sets values by atom.
Inherited From CMS_grandFather
CMS_grandFather::autoload()
CMS_grandFather::hasError()
CMS_grandFather::log()
CMS_grandFather::PHPErrorHandler()
CMS_grandFather::raiseError()
CMS_grandFather::setDebug()
CMS_grandFather::setLog()
CMS_grandFather::_raiseError()
CMS_grandFather::__call()
Inherited from CMS_grandFather
CMS_grandFather::ERROR_LOG
CMS_grandFather::SYSTEM_LABEL
Documentation generated on Wed, 15 Feb 2012 15:39:20 +0100 by phpDocumentor 1.4.3