|
eZ Publish
[trunk]
|
Public Member Functions | |
| addAllClasses () | |
| addAttribute ($attributeID) | |
| addClass ($classID) | |
| attributeCount () | |
| execute () | |
| eZISBN10To13Converter ($script, $cli, $params) | |
| updateClassAttributeToISBN13 ($classAttributeID) | |
| updateContentFromClassAttribute ($classAttributeID) | |
| updateContentISBNNumber ($contentObjectAttribute, $formatedISBN13Value) | |
| updateContentObjectAttribute ($contentObjectAttribute) | |
Public Attributes | |
| $AttributeArray | |
| $Cli | |
| $Script | |
Definition at line 11 of file ezisbn10to13converter.php.
Add all classes. Will fetch all class attributes from the database that has the ISBN datatype and register it in a class variable AttributeArray for later processing.
Definition at line 42 of file ezisbn10to13converter.php.
| eZISBN10To13Converter::addAttribute | ( | $ | attributeID | ) |
Add one ezisbn class attribute with a specific class attribute id and register it in a class variable AttributeArray for later processing.
Definition at line 141 of file ezisbn10to13converter.php.
| eZISBN10To13Converter::addClass | ( | $ | classID | ) |
Add all ezisbn class attributes from a class with a specific id and register them in a class variable AttributeArray for later processing.
Definition at line 83 of file ezisbn10to13converter.php.
Definition at line 187 of file ezisbn10to13converter.php.
Start processing the content object attributes.
Definition at line 195 of file ezisbn10to13converter.php.
| eZISBN10To13Converter::eZISBN10To13Converter | ( | $ | script, |
| $ | cli, | ||
| $ | params | ||
| ) |
Constructor
| $script | The variable is set earlier in the script and transfered to the class. |
| $cli | Is set earlier in the script, and used to send output / feedback to the user. |
| $params | custom parameters to the class. The Force parameter is now set as a class variable for the other functions. |
Definition at line 20 of file ezisbn10to13converter.php.
| eZISBN10To13Converter::updateClassAttributeToISBN13 | ( | $ | classAttributeID | ) |
Does the update of the class attribute directly to the database, which will only alter the attribute for if the ISBN datatype is ISBN-13.
| $classAttributeID | is the Class attribute id for the ISBN datatype. |
Definition at line 327 of file ezisbn10to13converter.php.
Referenced by execute().
| eZISBN10To13Converter::updateContentFromClassAttribute | ( | $ | classAttributeID | ) |
Update content in a ezisbn datatype for one specific class attribute id.
| $classAttributeID | is the class attribute id for for the ISBN datatype. |
Definition at line 216 of file ezisbn10to13converter.php.
Referenced by execute().
| eZISBN10To13Converter::updateContentISBNNumber | ( | $ | contentObjectAttribute, |
| $ | formatedISBN13Value | ||
| ) |
Does the update of the content object attribute directly to the database, which will only alter the attribute for if the ISBN datatype is ISBN-13.
| $contentObjectAttribute | Is an object of eZContentObjectAttribute. |
| $formatedISBN13Value | contains the formated version of the ISBN-13 number with hyphen as delimiter. |
Definition at line 340 of file ezisbn10to13converter.php.
Referenced by updateContentObjectAttribute().
| eZISBN10To13Converter::updateContentObjectAttribute | ( | $ | contentObjectAttribute | ) |
Convert the ISBN number for a content object attribute with the specific content attribute id.
| $contentObjectAttribute | Should be a object of eZContentObjectAttribute. |
Definition at line 269 of file ezisbn10to13converter.php.
Referenced by updateContentFromClassAttribute().
| eZISBN10To13Converter::$AttributeArray |
Definition at line 352 of file ezisbn10to13converter.php.
| eZISBN10To13Converter::$Cli |
Definition at line 350 of file ezisbn10to13converter.php.
| eZISBN10To13Converter::$Script |
Definition at line 351 of file ezisbn10to13converter.php.