|
eZ Publish
[trunk]
|
The class eZISBNGroup handles ISBN Registration groups. More...
Inheritance diagram for eZISBNGroup:
Collaboration diagram for eZISBNGroup:Public Member Functions | |
| eZISBNGroup ($row) | |
Static Public Member Functions | |
| static | cleanAll () |
| static | create ($groupNumber, $description="") |
| static | definition () |
| static | fetchByGroup ($groupNumber, $asObject=true) |
| static | fetchList ($asObject=true) |
| static | removeByID ($id) |
The class eZISBNGroup handles ISBN Registration groups.
Contains a list of registration numbers that exists for each area. The registration group is the second field of an ISBN-13 number. Example: 978-0-11-000222-4 where 0 is the registration group number.
The different Registration numbers are described in more detail at http://www.isbn-international.org
Definition at line 23 of file ezisbngroup.php.
| static eZISBNGroup::cleanAll | ( | ) | [static] |
Removes all ISBN groups from the database.
Definition at line 122 of file ezisbngroup.php.
Referenced by eZISBNType\cleanDBDataBeforeImport().
| static eZISBNGroup::create | ( | $ | groupNumber, |
| $ | description = "" |
||
| ) | [static] |
Create a new area for an ISBN number.
| $groupNumber | is the unique identifier for the area. Could be from 1 to 5 digits. |
| $description | a small description of the registration group area. |
Definition at line 65 of file ezisbngroup.php.
| static eZISBNGroup::definition | ( | ) | [static] |
returns a definition of the ISBN group.
Reimplemented from eZPersistentObject.
Definition at line 37 of file ezisbngroup.php.
Referenced by cleanAll(), fetchByGroup(), fetchList(), and removeByID().
| eZISBNGroup::eZISBNGroup | ( | $ | row | ) |
| static eZISBNGroup::fetchByGroup | ( | $ | groupNumber, |
| $ | asObject = true |
||
| ) | [static] |
| $groupNumber | is the unique number of the Registration group area. |
| $asObject | Whether if the result should be sent back as objects or an array. |
Definition at line 104 of file ezisbngroup.php.
Referenced by eZISBN13\extractISBNNumber().
| static eZISBNGroup::fetchList | ( | $ | asObject = true | ) | [static] |
| $asObject | Whether if the result should be sent back as objects or an array. |
Definition at line 90 of file ezisbngroup.php.
Referenced by eZISBN13\attribute().
| static eZISBNGroup::removeByID | ( | $ | id | ) | [static] |
Removes the ISBN group based on ID $id.
| $id | is the id the object will be removed based on. |
Definition at line 79 of file ezisbngroup.php.