PHP Class Pimcore\Model\Object\Concrete

Inheritance: extends AbstractObject
Show file Open project: pimcore/pimcore Class Usage Examples

Public Properties

Property Type Description
$lazyLoadedFields array
$o___loadedLazyFields array
$o_class Object | Class
$o_classId integer
$o_className string
$o_published boolean
$o_versions array
$scheduledTasks array Contains all scheduled tasks
$systemColumnNames

Protected Properties

Property Type Description
$omitMandatoryCheck boolean

Public Methods

Method Description
__callStatic ( $method, $arguments )
__clone ( ) : void load lazy loaded fields before cloning
__construct ( )
__sleep ( )
__wakeup ( )
addLazyLoadedField ( string $fieldName ) : void
addO__loadedLazyField ( string $o___loadedLazyField ) : void
classId ( ) : integer returns the class ID of the current object class
delete ( ) : void
getCacheTags ( $tags = [] ) : array
getClass ( ) : ClassDefinition
getClassId ( ) : integer
getClassName ( ) : string
getLazyLoadedFields ( ) : array
getNextParentForInheritance ( ) : AbstractObject | null
getO__loadedLazyFields ( ) : array
getOmitMandatoryCheck ( ) : boolean
getPublished ( ) : boolean
getRelationData ( string $fieldName, boolean $forOwner, $remoteClassId ) : array get object relation data as array for a specific field
getScheduledTasks ( ) : array
getValueForFieldName ( string $key ) : mixed
getValueFromParent ( $key, $params = null ) : mixed
getVersions ( ) : array
isPublished ( ) : boolean
preGetValue ( string $key ) Dummy which can be overwritten by a parent class, this is a hook executed in every getter of the properties in the object
resolveDependencies ( ) : array
saveScheduledTasks ( ) : void
saveVersion ( boolean $setModificationDate = true, boolean $callPluginHook = true ) : Version $callPluginHook is true when the method is called from outside (eg. directly in the controller "save only version") it is false when the method is called by $this->update()
setClass ( ClassDefinition $o_class )
setClassId ( integer $o_classId )
setClassName ( string $o_className )
setO__loadedLazyFields ( array $o___loadedLazyFields )
setOmitMandatoryCheck ( boolean $omitMandatoryCheck )
setPublished ( boolean $o_published ) : this
setScheduledTasks ( array $scheduledTasks )
setVersions ( array $o_versions )

Protected Methods

Method Description
saveChildData ( ) : void
update ( )

Method Details

__callStatic() public static method

public static __callStatic ( $method, $arguments )
$method
$arguments

__clone() public method

load lazy loaded fields before cloning
public __clone ( ) : void
return void

__construct() public method

public __construct ( )

__sleep() public method

public __sleep ( )

__wakeup() public method

public __wakeup ( )

addLazyLoadedField() public method

public addLazyLoadedField ( string $fieldName ) : void
$fieldName string
return void

addO__loadedLazyField() public method

public addO__loadedLazyField ( string $o___loadedLazyField ) : void
$o___loadedLazyField string
return void

classId() public static method

returns the class ID of the current object class
public static classId ( ) : integer
return integer

delete() public method

public delete ( ) : void
return void

getCacheTags() public method

public getCacheTags ( $tags = [] ) : array
return array

getClass() public method

public getClass ( ) : ClassDefinition
return ClassDefinition

getClassId() public method

public getClassId ( ) : integer
return integer

getClassName() public method

public getClassName ( ) : string
return string

getLazyLoadedFields() public method

public getLazyLoadedFields ( ) : array
return array

getNextParentForInheritance() public method

public getNextParentForInheritance ( ) : AbstractObject | null
return AbstractObject | null

getO__loadedLazyFields() public method

public getO__loadedLazyFields ( ) : array
return array

getOmitMandatoryCheck() public method

public getOmitMandatoryCheck ( ) : boolean
return boolean

getPublished() public method

public getPublished ( ) : boolean
return boolean

getRelationData() public method

get object relation data as array for a specific field
public getRelationData ( string $fieldName, boolean $forOwner, $remoteClassId ) : array
$fieldName string
$forOwner boolean
return array

getScheduledTasks() public method

public getScheduledTasks ( ) : array
return array

getValueForFieldName() public method

public getValueForFieldName ( string $key ) : mixed
$key string
return mixed

getValueFromParent() public method

public getValueFromParent ( $key, $params = null ) : mixed
return mixed

getVersions() public method

public getVersions ( ) : array
return array

isPublished() public method

public isPublished ( ) : boolean
return boolean

preGetValue() public method

Dummy which can be overwritten by a parent class, this is a hook executed in every getter of the properties in the object
public preGetValue ( string $key )
$key string

resolveDependencies() public method

public resolveDependencies ( ) : array
return array

saveChildData() protected method

protected saveChildData ( ) : void
return void

saveScheduledTasks() public method

public saveScheduledTasks ( ) : void
return void

saveVersion() public method

$callPluginHook is true when the method is called from outside (eg. directly in the controller "save only version") it is false when the method is called by $this->update()
public saveVersion ( boolean $setModificationDate = true, boolean $callPluginHook = true ) : Version
$setModificationDate boolean
$callPluginHook boolean
return Pimcore\Model\Version

setClass() public method

public setClass ( ClassDefinition $o_class )
$o_class ClassDefinition

setClassId() public method

public setClassId ( integer $o_classId )
$o_classId integer

setClassName() public method

public setClassName ( string $o_className )
$o_className string

setO__loadedLazyFields() public method

public setO__loadedLazyFields ( array $o___loadedLazyFields )
$o___loadedLazyFields array

setOmitMandatoryCheck() public method

public setOmitMandatoryCheck ( boolean $omitMandatoryCheck )
$omitMandatoryCheck boolean

setPublished() public method

public setPublished ( boolean $o_published ) : this
$o_published boolean
return this

setScheduledTasks() public method

public setScheduledTasks ( array $scheduledTasks )
$scheduledTasks array

setVersions() public method

public setVersions ( array $o_versions )
$o_versions array

update() protected method

protected update ( )

Property Details

$lazyLoadedFields public property

public array $lazyLoadedFields
return array

$o___loadedLazyFields public property

public array $o___loadedLazyFields
return array

$o_class public property

public Object|Class $o_class
return Object | Class

$o_classId public property

public int $o_classId
return integer

$o_className public property

public string $o_className
return string

$o_published public property

public bool $o_published
return boolean

$o_versions public property

public array $o_versions
return array

$omitMandatoryCheck protected property

protected bool $omitMandatoryCheck
return boolean

$scheduledTasks public property

Contains all scheduled tasks
public array $scheduledTasks
return array

$systemColumnNames public static property

public static $systemColumnNames