eZPublish  3.8
eZContentClassGroup Class Reference

! eZKernel The class eZContentClassGroup More...

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

Public Member Functions

appendClass (&$class, $version=false)
 
 create ($userID=false)
 
creator ()
 
 definition ()
 
 eZContentClassGroup ($row)
 
 fetch ($id, $user_id=false, $asObject=true)
 
 fetchByName ($name, $asObject=true)
 
 fetchList ($user_id=false, $asObject=true)
 
modifier ()
 
 removeSelected ($id)
 
- Public Member Functions inherited from eZPersistentObject
attribute ($attr, $noFunction=false)
 
 attributes ()
 
 conditionText (&$conditions)
 
conditionTextByRow (&$conditions, &$row)
 
 definition ()
 
escapeArray (&$array)
 
 eZPersistentObject ($row)
 
 fetchObject (&$def, $field_filters, $conds, $asObject=true, $grouping=null, $custom_fields=null)
 
 fetchObjectList (&$def, $field_filters=null, $conds=null, $sorts=null, $limit=null, $asObject=true, $grouping=false, $custom_fields=null)
 
 fill (&$row)
 
 getShortAttributeName (&$db, &$def, $attrName)
 
 handleRows (&$rows, $class_name, $asObject)
 
 hasAttribute ($attr)
 
 hasDirtyData ()
 
 newObjectOrder (&$def, $orderField, $conditions)
 
 remove ($conditions=null, $extraConditions=null)
 
 removeObject (&$def, $conditions=null, $extraConditions=null)
 
 reorderObject (&$def, $orderField, $conditions, $down=true)
 
 setAttribute ($attr, $val)
 
 setHasDirtyData ($hasDirtyData)
 
 store ($fieldFilters=null)
 
 swapRow ($table, &$keys, &$order_id, &$rows, $id1, $id2)
 
 sync ($fieldFilters=null)
 
 updateObjectList ($parameters)
 

Public Attributes

 $Created
 
 $CreatorID
 
 $ID
 
 $Modified
 
 $ModifierID
 
 $Name
 

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.
eZContentClassGroup::create (   $userID = false)
& eZContentClassGroup::creator ( )
eZContentClassGroup::definition ( )
eZContentClassGroup::eZContentClassGroup (   $row)

Referenced by create().

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

Fetch Class group by name, and return first result.

Parameters
name
asObject

Referenced by eZContentClassPackageHandler\install().

eZContentClassGroup::fetchList (   $user_id = false,
  $asObject = true 
)
& eZContentClassGroup::modifier ( )
eZContentClassGroup::removeSelected (   $id)
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: