|
eZ Publish
[trunk]
|
eZOption handles option set datatypes More...
Public Member Functions | |
| addOption ($valueArray) | |
| attribute ($name) | |
| attributes () | |
| decodeXML ($xmlString) | |
| eZOption ($name) | |
| hasAttribute ($name) | |
| insertOption ($valueArray, $beforeID) | |
| name () | |
| removeOptions ($array_remove) | |
| setName ($name) | |
| xmlString () | |
Public Attributes | |
| $Name | |
| Contains the Option name. | |
| $OptionCount | |
| Contains the option counter value. | |
| $Options | |
| Contains the Options. | |
eZOption handles option set datatypes
$option = new eZOption( "Colour" ); $option->addValue( "Red" ); $option->addValue( "Green" ); // Serialize the class to an XML document $xmlString = $option->xmlString();
Definition at line 28 of file ezoption.php.
| eZOption::addOption | ( | $ | valueArray | ) |
| eZOption::attribute | ( | $ | name | ) |
Definition at line 100 of file ezoption.php.
Definition at line 89 of file ezoption.php.
Referenced by hasAttribute().
| eZOption::decodeXML | ( | $ | xmlString | ) |
Will decode an xml string and initialize the eZ option object
Definition at line 123 of file ezoption.php.
| eZOption::eZOption | ( | $ | name | ) |
Definition at line 30 of file ezoption.php.
| eZOption::hasAttribute | ( | $ | name | ) |
Definition at line 95 of file ezoption.php.
| eZOption::insertOption | ( | $ | valueArray, |
| $ | beforeID | ||
| ) |
Definition at line 69 of file ezoption.php.
| eZOption::name | ( | ) |
Returns the name of the option set.
Definition at line 49 of file ezoption.php.
| eZOption::removeOptions | ( | $ | array_remove | ) |
Definition at line 78 of file ezoption.php.
| eZOption::setName | ( | $ | name | ) |
Sets the name of the option
Definition at line 40 of file ezoption.php.
Referenced by decodeXML(), and eZOptionType\initializeObjectAttribute().
Will return the XML string for this option set.
Definition at line 153 of file ezoption.php.
| eZOption::$Name |
Contains the Option name.
Definition at line 182 of file ezoption.php.
| eZOption::$OptionCount |
Contains the option counter value.
Definition at line 188 of file ezoption.php.
| eZOption::$Options |
Contains the Options.
Definition at line 185 of file ezoption.php.