PHP Class Pimcore\Model\Object\AbstractObject

Inheritance: extends Pimcore\Model\Element\AbstractElement
Afficher le fichier Open project: pimcore/pimcore Class Usage Examples

Méthodes publiques

Свойство Type Description
$doNotRestoreKeyAndPath
$o_childs array
$o_creationDate integer
$o_dependencies Pimcore\Model\Dependency[]
$o_elementAdminStyle Pimcore\Model\Element\AdminStyle
$o_hasChilds boolean
$o_hasSiblings boolean Indicator if document has siblings or not
$o_id integer
$o_index integer
$o_key string
$o_locked string
$o_modificationDate integer
$o_parent self
$o_parentId integer
$o_path string
$o_properties array
$o_siblings array Contains a list of sibling documents
$o_type string
$o_userModification integer
$o_userOwner integer
$types array possible types of a document

Méthodes publiques

Méthode Description
__call ( $method, $args ) : mixed
__sleep ( )
__wakeup ( )
clearDependentCache ( array $additionalTags = [] )
correctPath ( )
delete ( ) : void
doGetInheritedValues ( Concrete $object = null ) : boolean
doHideUnpublished ( ) : boolean
doNotRestoreKeyAndPath ( ) : boolean
getById ( integer $id ) : static
getByPath ( string $path ) : self
getChildren ( array $objectTypes = [self::OBJECT_TYPE_OBJECT, self::OBJECT_TYPE_FOLDER], boolean $unpublished = false ) : array
getCreationDate ( ) : integer
getDependencies ( ) : Dependency
getElementAdminStyle ( ) : Pimcore\Model\Element\AdminStyle
getFullPath ( ) : string
getGetInheritedValues ( ) : boolean
getHideUnpublished ( ) : boolean
getId ( ) : integer
getIndex ( ) : integer
getKey ( ) : string
getList ( array $config = [] ) : mixed
getLocked ( ) : string Returns true if the element is locked
getModificationDate ( ) : integer
getParent ( ) : self
getParentId ( ) : integer
getPath ( ) : path
getProperties ( ) : Property[]
getRealFullPath ( ) : string
getRealPath ( ) : string
getSiblings ( array $objectTypes = [self::OBJECT_TYPE_OBJECT, self::OBJECT_TYPE_FOLDER], boolean $unpublished = false ) : array Get a list of the sibling documents
getTotalCount ( array $config = [] ) : total
getType ( ) : string
getTypes ( ) : array get possible types
getUserModification ( ) : integer
getUserOwner ( ) : integer
hasChildren ( $objectTypes = [self::OBJECT_TYPE_OBJECT, self::OBJECT_TYPE_FOLDER] ) : boolean
hasSiblings ( array $objectTypes = [self::OBJECT_TYPE_OBJECT, self::OBJECT_TYPE_FOLDER] ) : boolean Returns true if the document has at least one sibling
removeInheritedProperties ( )
renewInheritedProperties ( )
save ( )
setChildren ( array $children )
setCreationDate ( integer $o_creationDate )
setDoNotRestoreKeyAndPath ( boolean $doNotRestoreKeyAndPath )
setGetInheritedValues ( $getInheritedValues ) : void
setHideUnpublished ( $hidePublished ) : void
setId ( integer $o_id )
setIndex ( integer $o_index )
setKey ( string $o_key )
setLocked ( boolean $o_locked )
setModificationDate ( integer $o_modificationDate )
setParent ( self $o_parent )
setParentId ( integer $o_parentId )
setPath ( string $o_path )
setProperties ( array $o_properties )
setProperty ( $name, $type, $data, boolean $inherited = false, boolean $inheritable = false )
setType ( string $o_type )
setUserModification ( integer $o_userModification )
setUserOwner ( integer $o_userOwner )

Méthodes protégées

Méthode Description
update ( )

Method Details

__call() public méthode

public __call ( $method, $args ) : mixed
$method
$args
Résultat mixed

__sleep() public méthode

public __sleep ( )

__wakeup() public méthode

public __wakeup ( )

clearDependentCache() public méthode

public clearDependentCache ( array $additionalTags = [] )
$additionalTags array

correctPath() public méthode

public correctPath ( )

delete() public méthode

public delete ( ) : void
Résultat void

doGetInheritedValues() public static méthode

public static doGetInheritedValues ( Concrete $object = null ) : boolean
$object Concrete
Résultat boolean

doHideUnpublished() public static méthode

public static doHideUnpublished ( ) : boolean
Résultat boolean

doNotRestoreKeyAndPath() public static méthode

public static doNotRestoreKeyAndPath ( ) : boolean
Résultat boolean

getById() public static méthode

public static getById ( integer $id ) : static
$id integer
Résultat static

getByPath() public static méthode

public static getByPath ( string $path ) : self
$path string
Résultat self

getChildren() public méthode

public getChildren ( array $objectTypes = [self::OBJECT_TYPE_OBJECT, self::OBJECT_TYPE_FOLDER], boolean $unpublished = false ) : array
$objectTypes array
$unpublished boolean
Résultat array

getCreationDate() public méthode

public getCreationDate ( ) : integer
Résultat integer

getDependencies() public méthode

public getDependencies ( ) : Dependency
Résultat Pimcore\Model\Dependency

getElementAdminStyle() public méthode

public getElementAdminStyle ( ) : Pimcore\Model\Element\AdminStyle
Résultat Pimcore\Model\Element\AdminStyle

getFullPath() public méthode

public getFullPath ( ) : string
Résultat string

getGetInheritedValues() public static méthode

public static getGetInheritedValues ( ) : boolean
Résultat boolean

getHideUnpublished() public static méthode

public static getHideUnpublished ( ) : boolean
Résultat boolean

getId() public méthode

public getId ( ) : integer
Résultat integer

getIndex() public méthode

public getIndex ( ) : integer
Résultat integer

getKey() public méthode

public getKey ( ) : string
Résultat string

getList() public static méthode

public static getList ( array $config = [] ) : mixed
$config array
Résultat mixed

getLocked() public méthode

Returns true if the element is locked
public getLocked ( ) : string
Résultat string

getModificationDate() public méthode

public getModificationDate ( ) : integer
Résultat integer

getParent() public méthode

public getParent ( ) : self
Résultat self

getParentId() public méthode

public getParentId ( ) : integer
Résultat integer

getPath() public méthode

public getPath ( ) : path
Résultat path

getProperties() public méthode

public getProperties ( ) : Property[]
Résultat Property[]

getRealFullPath() public méthode

public getRealFullPath ( ) : string
Résultat string

getRealPath() public méthode

public getRealPath ( ) : string
Résultat string

getSiblings() public méthode

Get a list of the sibling documents
public getSiblings ( array $objectTypes = [self::OBJECT_TYPE_OBJECT, self::OBJECT_TYPE_FOLDER], boolean $unpublished = false ) : array
$objectTypes array
$unpublished boolean
Résultat array

getTotalCount() public static méthode

public static getTotalCount ( array $config = [] ) : total
$config array
Résultat total count

getType() public méthode

public getType ( ) : string
Résultat string

getTypes() public static méthode

get possible types
public static getTypes ( ) : array
Résultat array

getUserModification() public méthode

public getUserModification ( ) : integer
Résultat integer

getUserOwner() public méthode

public getUserOwner ( ) : integer
Résultat integer

hasChildren() public méthode

public hasChildren ( $objectTypes = [self::OBJECT_TYPE_OBJECT, self::OBJECT_TYPE_FOLDER] ) : boolean
Résultat boolean

hasSiblings() public méthode

Returns true if the document has at least one sibling
public hasSiblings ( array $objectTypes = [self::OBJECT_TYPE_OBJECT, self::OBJECT_TYPE_FOLDER] ) : boolean
$objectTypes array
Résultat boolean

removeInheritedProperties() public méthode

renewInheritedProperties() public méthode

save() public méthode

public save ( )

setChildren() public méthode

public setChildren ( array $children )
$children array

setCreationDate() public méthode

public setCreationDate ( integer $o_creationDate )
$o_creationDate integer

setDoNotRestoreKeyAndPath() public static méthode

public static setDoNotRestoreKeyAndPath ( boolean $doNotRestoreKeyAndPath )
$doNotRestoreKeyAndPath boolean

setGetInheritedValues() public static méthode

public static setGetInheritedValues ( $getInheritedValues ) : void
$getInheritedValues
Résultat void

setHideUnpublished() public static méthode

public static setHideUnpublished ( $hidePublished ) : void
$hidePublished
Résultat void

setId() public méthode

public setId ( integer $o_id )
$o_id integer

setIndex() public méthode

public setIndex ( integer $o_index )
$o_index integer

setKey() public méthode

public setKey ( string $o_key )
$o_key string

setLocked() public méthode

public setLocked ( boolean $o_locked )
$o_locked boolean

setModificationDate() public méthode

public setModificationDate ( integer $o_modificationDate )
$o_modificationDate integer

setParent() public méthode

public setParent ( self $o_parent )
$o_parent self

setParentId() public méthode

public setParentId ( integer $o_parentId )
$o_parentId integer

setPath() public méthode

public setPath ( string $o_path )
$o_path string

setProperties() public méthode

public setProperties ( array $o_properties )
$o_properties array

setProperty() public méthode

public setProperty ( $name, $type, $data, boolean $inherited = false, boolean $inheritable = false )
$name
$type
$data
$inherited boolean
$inheritable boolean

setType() public méthode

public setType ( string $o_type )
$o_type string

setUserModification() public méthode

public setUserModification ( integer $o_userModification )
$o_userModification integer

setUserOwner() public méthode

public setUserOwner ( integer $o_userOwner )
$o_userOwner integer

update() protected méthode

protected update ( )

Property Details

$doNotRestoreKeyAndPath public_oe static_oe property

public static $doNotRestoreKeyAndPath

$o_childs public_oe property

public array $o_childs
Résultat array

$o_creationDate public_oe property

public int $o_creationDate
Résultat integer

$o_dependencies public_oe property

public Dependency[],Pimcore\Model $o_dependencies
Résultat Pimcore\Model\Dependency[]

$o_elementAdminStyle public_oe property

public AdminStyle,Pimcore\Model\Element $o_elementAdminStyle
Résultat Pimcore\Model\Element\AdminStyle

$o_hasChilds public_oe property

public bool $o_hasChilds
Résultat boolean

$o_hasSiblings public_oe property

Indicator if document has siblings or not
public bool $o_hasSiblings
Résultat boolean

$o_id public_oe property

public int $o_id
Résultat integer

$o_index public_oe property

public int $o_index
Résultat integer

$o_key public_oe property

public string $o_key
Résultat string

$o_locked public_oe property

public string $o_locked
Résultat string

$o_modificationDate public_oe property

public int $o_modificationDate
Résultat integer

$o_parent public_oe property

public self $o_parent
Résultat self

$o_parentId public_oe property

public int $o_parentId
Résultat integer

$o_path public_oe property

public string $o_path
Résultat string

$o_properties public_oe property

public array $o_properties
Résultat array

$o_siblings public_oe property

Contains a list of sibling documents
public array $o_siblings
Résultat array

$o_type public_oe property

public string $o_type
Résultat string

$o_userModification public_oe property

public int $o_userModification
Résultat integer

$o_userOwner public_oe property

public int $o_userOwner
Résultat integer

$types public_oe static_oe property

possible types of a document
public static array $types
Résultat array