eZPublish  4.4
eZContentClassName Class Reference
+ Inheritance diagram for eZContentClassName:
+ Collaboration diagram for eZContentClassName:

Public Member Functions

 eZContentClassName ($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 definition ()
 
static fetchList ($classID, $classVersion, $languageLocaleList, $asObjects=true, $fields=null, $sorts=null, $limit=null)
 
static removeClassName ($contentClassID, $contentClassVersion)
 
static sqlAppendFilter ($languageTable= 'ezcontentclass')
 
static sqlEmptyFilter ()
 
static sqlFilter ($languageTable= 'ezcontentclass')
 
- 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...
 

Member Function Documentation

static eZContentClassName::definition ( )
static
eZContentClassName::eZContentClassName (   $row)
static eZContentClassName::fetchList (   $classID,
  $classVersion,
  $languageLocaleList,
  $asObjects = true,
  $fields = null,
  $sorts = null,
  $limit = null 
)
static
static eZContentClassName::removeClassName (   $contentClassID,
  $contentClassVersion 
)
static
static eZContentClassName::sqlAppendFilter (   $languageTable = 'ezcontentclass')
static

The same as 'sqlFilter' but adds symbol ',' to 'nameField' and 'from' parts

Referenced by eZContentClassClassGroup\fetchClassList().

static eZContentClassName::sqlEmptyFilter ( )
static

The same as 'sqlFilter' but all fields are empty

Referenced by eZContentClassClassGroup\fetchClassList().

static eZContentClassName::sqlFilter (   $languageTable = 'ezcontentclass')
static
Returns
the SQL where-condition for selecting the rows (with class names) in the correct language, i. e. in the most prioritized language from those in which an object exists.
Parameters
languageTableName of the table containing the attribute with bitmaps, e.g. ezcontentclass
languageListTableName of the table containing the attribute with language id.

Referenced by eZSearchEngine\buildSortSQL(), eZContentObject\canCreateClassList(), eZContentObjectTreeNode\canCreateClassList(), eZContentClass\canInstantiateClassList(), eZContentObjectTreeNode\createAttributeFilterSQLStrings(), eZContentObjectTreeNode\createSortingSQLStrings(), eZContentClass\fetchAllClasses(), eZClassFunctionCollection\fetchClassListByGroups(), and eZContentClass\fetchList().


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