PHP Класс Pimcore\Model\Object\AbstractObject

Наследование: extends Pimcore\Model\Element\AbstractElement
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
$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

Открытые методы

Метод Описание
__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 )

Защищенные методы

Метод Описание
update ( )

Описание методов

__call() публичный Метод

public __call ( $method, $args ) : mixed
$method
$args
Результат mixed

__sleep() публичный Метод

public __sleep ( )

__wakeup() публичный Метод

public __wakeup ( )

clearDependentCache() публичный Метод

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

correctPath() публичный Метод

public correctPath ( )

delete() публичный Метод

public delete ( ) : void
Результат void

doGetInheritedValues() публичный статический Метод

public static doGetInheritedValues ( Concrete $object = null ) : boolean
$object Concrete
Результат boolean

doHideUnpublished() публичный статический Метод

public static doHideUnpublished ( ) : boolean
Результат boolean

doNotRestoreKeyAndPath() публичный статический Метод

public static doNotRestoreKeyAndPath ( ) : boolean
Результат boolean

getById() публичный статический Метод

public static getById ( integer $id ) : static
$id integer
Результат static

getByPath() публичный статический Метод

public static getByPath ( string $path ) : self
$path string
Результат self

getChildren() публичный Метод

public getChildren ( array $objectTypes = [self::OBJECT_TYPE_OBJECT, self::OBJECT_TYPE_FOLDER], boolean $unpublished = false ) : array
$objectTypes array
$unpublished boolean
Результат array

getCreationDate() публичный Метод

public getCreationDate ( ) : integer
Результат integer

getDependencies() публичный Метод

public getDependencies ( ) : Dependency
Результат Pimcore\Model\Dependency

getElementAdminStyle() публичный Метод

public getElementAdminStyle ( ) : Pimcore\Model\Element\AdminStyle
Результат Pimcore\Model\Element\AdminStyle

getFullPath() публичный Метод

public getFullPath ( ) : string
Результат string

getGetInheritedValues() публичный статический Метод

public static getGetInheritedValues ( ) : boolean
Результат boolean

getHideUnpublished() публичный статический Метод

public static getHideUnpublished ( ) : boolean
Результат boolean

getId() публичный Метод

public getId ( ) : integer
Результат integer

getIndex() публичный Метод

public getIndex ( ) : integer
Результат integer

getKey() публичный Метод

public getKey ( ) : string
Результат string

getList() публичный статический Метод

public static getList ( array $config = [] ) : mixed
$config array
Результат mixed

getLocked() публичный Метод

Returns true if the element is locked
public getLocked ( ) : string
Результат string

getModificationDate() публичный Метод

public getModificationDate ( ) : integer
Результат integer

getParent() публичный Метод

public getParent ( ) : self
Результат self

getParentId() публичный Метод

public getParentId ( ) : integer
Результат integer

getPath() публичный Метод

public getPath ( ) : path
Результат path

getProperties() публичный Метод

public getProperties ( ) : Property[]
Результат Property[]

getRealFullPath() публичный Метод

public getRealFullPath ( ) : string
Результат string

getRealPath() публичный Метод

public getRealPath ( ) : string
Результат string

getSiblings() публичный Метод

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
Результат array

getTotalCount() публичный статический Метод

public static getTotalCount ( array $config = [] ) : total
$config array
Результат total count

getType() публичный Метод

public getType ( ) : string
Результат string

getTypes() публичный статический Метод

get possible types
public static getTypes ( ) : array
Результат array

getUserModification() публичный Метод

public getUserModification ( ) : integer
Результат integer

getUserOwner() публичный Метод

public getUserOwner ( ) : integer
Результат integer

hasChildren() публичный Метод

public hasChildren ( $objectTypes = [self::OBJECT_TYPE_OBJECT, self::OBJECT_TYPE_FOLDER] ) : boolean
Результат boolean

hasSiblings() публичный Метод

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
Результат boolean

removeInheritedProperties() публичный Метод

renewInheritedProperties() публичный Метод

save() публичный Метод

public save ( )

setChildren() публичный Метод

public setChildren ( array $children )
$children array

setCreationDate() публичный Метод

public setCreationDate ( integer $o_creationDate )
$o_creationDate integer

setDoNotRestoreKeyAndPath() публичный статический Метод

public static setDoNotRestoreKeyAndPath ( boolean $doNotRestoreKeyAndPath )
$doNotRestoreKeyAndPath boolean

setGetInheritedValues() публичный статический Метод

public static setGetInheritedValues ( $getInheritedValues ) : void
$getInheritedValues
Результат void

setHideUnpublished() публичный статический Метод

public static setHideUnpublished ( $hidePublished ) : void
$hidePublished
Результат void

setId() публичный Метод

public setId ( integer $o_id )
$o_id integer

setIndex() публичный Метод

public setIndex ( integer $o_index )
$o_index integer

setKey() публичный Метод

public setKey ( string $o_key )
$o_key string

setLocked() публичный Метод

public setLocked ( boolean $o_locked )
$o_locked boolean

setModificationDate() публичный Метод

public setModificationDate ( integer $o_modificationDate )
$o_modificationDate integer

setParent() публичный Метод

public setParent ( self $o_parent )
$o_parent self

setParentId() публичный Метод

public setParentId ( integer $o_parentId )
$o_parentId integer

setPath() публичный Метод

public setPath ( string $o_path )
$o_path string

setProperties() публичный Метод

public setProperties ( array $o_properties )
$o_properties array

setProperty() публичный Метод

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

setType() публичный Метод

public setType ( string $o_type )
$o_type string

setUserModification() публичный Метод

public setUserModification ( integer $o_userModification )
$o_userModification integer

setUserOwner() публичный Метод

public setUserOwner ( integer $o_userOwner )
$o_userOwner integer

update() защищенный Метод

protected update ( )

Описание свойств

$doNotRestoreKeyAndPath публичное статическое свойство

public static $doNotRestoreKeyAndPath

$o_childs публичное свойство

public array $o_childs
Результат array

$o_creationDate публичное свойство

public int $o_creationDate
Результат integer

$o_dependencies публичное свойство

public Dependency[],Pimcore\Model $o_dependencies
Результат Pimcore\Model\Dependency[]

$o_elementAdminStyle публичное свойство

public AdminStyle,Pimcore\Model\Element $o_elementAdminStyle
Результат Pimcore\Model\Element\AdminStyle

$o_hasChilds публичное свойство

public bool $o_hasChilds
Результат boolean

$o_hasSiblings публичное свойство

Indicator if document has siblings or not
public bool $o_hasSiblings
Результат boolean

$o_id публичное свойство

public int $o_id
Результат integer

$o_index публичное свойство

public int $o_index
Результат integer

$o_key публичное свойство

public string $o_key
Результат string

$o_locked публичное свойство

public string $o_locked
Результат string

$o_modificationDate публичное свойство

public int $o_modificationDate
Результат integer

$o_parent публичное свойство

public self $o_parent
Результат self

$o_parentId публичное свойство

public int $o_parentId
Результат integer

$o_path публичное свойство

public string $o_path
Результат string

$o_properties публичное свойство

public array $o_properties
Результат array

$o_siblings публичное свойство

Contains a list of sibling documents
public array $o_siblings
Результат array

$o_type публичное свойство

public string $o_type
Результат string

$o_userModification публичное свойство

public int $o_userModification
Результат integer

$o_userOwner публичное свойство

public int $o_userOwner
Результат integer

$types публичное статическое свойство

possible types of a document
public static array $types
Результат array