eZPublish  4.4
eZISBNGroup Class Reference

The class eZISBNGroup handles ISBN Registration groups. More...

+ Inheritance diagram for eZISBNGroup:
+ Collaboration diagram for eZISBNGroup:

Public Member Functions

 eZISBNGroup ($row)
 
- Public Member Functions inherited from eZPersistentObject
 attribute ($attr, $noFunction=false)
 
 attributes ()
 
 eZPersistentObject ($row)
 
 fill ($row)
 
 hasAttribute ($attr)
 
 hasDirtyData ()
 
 remove ($conditions=null, $extraConditions=null)
 
 setAttribute ($attr, $val)
 
 setHasDirtyData ($hasDirtyData)
 
 store ($fieldFilters=null)
 
 sync ($fieldFilters=null)
 

Static Public Member Functions

static cleanAll ()
 
static create ($groupNumber, $description="")
 
static definition ()
 
static fetchByGroup ($groupNumber, $asObject=true)
 
static fetchList ($asObject=true)
 
static removeByID ($id)
 
- Static Public Member Functions inherited from eZPersistentObject
static conditionText ($conditions)
 
static conditionTextByRow ($conditions, $row)
 
static count ($def, $conds=null, $field=null)
 
static definition ()
 
static escapeArray ($array)
 
static fetchObject ($def, $field_filters, $conds, $asObject=true, $grouping=null, $custom_fields=null)
 
static fetchObjectList ($def, $field_filters=null, $conds=null, $sorts=null, $limit=null, $asObject=true, $grouping=false, $custom_fields=null, $custom_tables=null, $custom_conds=null)
 
static getShortAttributeName ($db, $def, $attrName)
 
static handleRows ($rows, $class_name, $asObject)
 
static newObjectOrder ($def, $orderField, $conditions)
 
static removeObject ($def, $conditions=null, $extraConditions=null)
 
static reorderObject ($def, $orderField, $conditions, $down=true)
 
static swapRow ($table, $keys, $order_id, $rows, $id1, $id2)
 
static updateObjectList ($parameters)
 

Additional Inherited Members

- Public Attributes inherited from eZPersistentObject
 $PersistentDataDirty
 Whether the data is dirty, ie needs to be stored, or not. More...
 

Detailed Description

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

Member Function Documentation

static eZISBNGroup::cleanAll ( )
static

Removes all ISBN groups from the database.

Referenced by eZISBNType\cleanDBDataBeforeImport().

static eZISBNGroup::create (   $groupNumber,
  $description = "" 
)
static

Create a new area for an ISBN number.

Parameters
$groupNumberis the unique identifier for the area. Could be from 1 to 5 digits.
$descriptiona small description of the registration group area.
Returns
a new eZISBNGroup object containing group number and a description.
static eZISBNGroup::definition ( )
static

returns a definition of the ISBN group.

Referenced by cleanAll(), fetchByGroup(), fetchList(), and removeByID().

eZISBNGroup::eZISBNGroup (   $row)

Constructor

Referenced by create().

static eZISBNGroup::fetchByGroup (   $groupNumber,
  $asObject = true 
)
static
Parameters
$groupNumberis the unique number of the Registration group area.
$asObjectWhether if the result should be sent back as objects or an array.
Returns
the group range list for ISBN groups.

Referenced by eZISBN13\extractISBNNumber().

static eZISBNGroup::fetchList (   $asObject = true)
static
Parameters
$asObjectWhether if the result should be sent back as objects or an array.
Returns
the group range list for ISBN groups.

Referenced by eZISBN13\attribute().

static eZISBNGroup::removeByID (   $id)
static

Removes the ISBN group based on ID $id.

Parameters
$idis the id the object will be removed based on.

The documentation for this class was generated from the following file: