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

Public Member Functions

 __construct ($row=array())
 
 hasData ()
 Return if this content object state group language has any data to store (= not empty) More...
 
 isValid (&$messages=array())
 Check if the data inside the content object state group language are valid and can be stored in the database. More...
 
 language ()
 return the eZ Publish content language associated with this content object state group language More...
 
 realLanguageID ()
 returns the language id, without the always available bit More...
 
- 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 fetchByGroup ($id)
 Retrieve the available languages of a content object state group by its numerical ID. More...
 
- 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...
 

Constructor & Destructor Documentation

eZContentObjectStateGroupLanguage::__construct (   $row = array())

Member Function Documentation

static eZContentObjectStateGroupLanguage::definition ( )
static
static eZContentObjectStateGroupLanguage::fetchByGroup (   $id)
static

Retrieve the available languages of a content object state group by its numerical ID.

Parameters
integer$id
Returns
array an array of eZContentObjectStateGroupLanguage objects

Referenced by eZContentObjectStateGroup\translations().

eZContentObjectStateGroupLanguage::hasData ( )

Return if this content object state group language has any data to store (= not empty)

Returns
boolean
eZContentObjectStateGroupLanguage::isValid ( $messages = array())

Check if the data inside the content object state group language are valid and can be stored in the database.

Parameters
array$messages
Returns
boolean
eZContentObjectStateGroupLanguage::language ( )

return the eZ Publish content language associated with this content object state group language

Returns
eZContentLanguage

Referenced by isValid().

eZContentObjectStateGroupLanguage::realLanguageID ( )

returns the language id, without the always available bit

Returns
int language id

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