eZPublish  4.5
eZContentClassGroup Class Reference

! eZKernel The class eZContentClassGroup More...

+ Inheritance diagram for eZContentClassGroup:
+ Collaboration diagram for eZContentClassGroup:

Public Member Functions

 appendClass ($class, $version=false)
 
 creator ()
 
 eZContentClassGroup ($row)
 
 modifier ()
 
- 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 create ($userID=false)
 
static definition ()
 
static fetch ($id, $user_id=false, $asObject=true)
 
static fetchByName ($name, $asObject=true)
 
static fetchList ($user_id=false, $asObject=true)
 
static removeSelected ($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)
 

Public Attributes

 $Created
 
 $CreatorID
 
 $ID
 
 $Modified
 
 $ModifierID
 
 $Name
 
- Public Attributes inherited from eZPersistentObject
 $PersistentDataDirty
 Whether the data is dirty, ie needs to be stored, or not. More...
 

Detailed Description

! eZKernel The class eZContentClassGroup

Member Function Documentation

eZContentClassGroup::appendClass (   $class,
  $version = false 
)

Appends the class $class to this group.

Parameters
$classCan either be an eZContentClass object or a class ID.
Returns
the class group link object.
Note
tranaction unsafe.
static eZContentClassGroup::create (   $userID = false)
static
eZContentClassGroup::creator ( )
static eZContentClassGroup::definition ( )
static
eZContentClassGroup::eZContentClassGroup (   $row)

Referenced by create().

static eZContentClassGroup::fetch (   $id,
  $user_id = false,
  $asObject = true 
)
static
static eZContentClassGroup::fetchByName (   $name,
  $asObject = true 
)
static

Fetch Class group by name, and return first result.

Parameters
name
asObject

Referenced by eZContentClassPackageHandler\install().

static eZContentClassGroup::fetchList (   $user_id = false,
  $asObject = true 
)
static
eZContentClassGroup::modifier ( )
static eZContentClassGroup::removeSelected (   $id)
static
Note
Transaction unsafe. If you call several transaction unsafe methods you must enclose the calls within a db transaction; thus within db->begin and db->commit.

Member Data Documentation

eZContentClassGroup::$Created
eZContentClassGroup::$CreatorID
eZContentClassGroup::$ID
eZContentClassGroup::$Modified
eZContentClassGroup::$ModifierID
eZContentClassGroup::$Name

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