PHP 클래스 Pimcore\Model\Object\ClassDefinition

상속: extends Pimcore\Model\AbstractModel, use trait Pimcore\Model\Object\ClassDefinition\Helper\VarExport
파일 보기 프로젝트 열기: pimcore/pimcore 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$allowInherit boolean
$allowVariants boolean
$creationDate integer
$description string
$fieldDefinitions array
$group string
$icon string
$id integer
$layoutDefinitions array
$modificationDate integer
$name string
$parentClass string Name of the parent class if set
$previewUrl string
$propertyVisibility array
$showVariants boolean
$useTraits
$userModification integer
$userOwner integer

공개 메소드들

메소드 설명
addFieldDefinition ( string $key, Data $data ) : void
cleanupForExport ( &$data )
create ( array $values = [] ) : self
delete ( ) : void
extractDataDefinitions ( array | Layout | Data $def ) : void
getAllowInherit ( ) : boolean
getAllowVariants ( ) : boolean
getById ( $id ) : mixed | null | ClassDefinition
getByName ( string $name ) : self
getCreationDate ( ) : integer
getDefinitionFile ( null $name = null ) : string
getDescription ( ) : string
getFieldDefinition ( $key ) : Data
getFieldDefinitions ( ) : Data[]
getGroup ( ) : string
getIcon ( ) : string
getId ( ) : integer
getLayoutDefinitions ( ) : array
getModificationDate ( ) : integer
getName ( ) : string
getParent ( ) : mixed
getParentClass ( ) : string
getPreviewUrl ( ) : string
getPropertyVisibility ( ) : array
getShowVariants ( ) : boolean
getUseTraits ( ) : string
getUserModification ( ) : integer
getUserOwner ( ) : integer
rename ( string $name ) : void
save ( )
setAllowInherit ( boolean $allowInherit ) : void
setAllowVariants ( boolean $allowVariants ) : void
setCreationDate ( integer $creationDate ) : void
setDescription ( $description )
setFieldDefinitions ( array $fieldDefinitions ) : void
setGroup ( string $group )
setIcon ( $icon )
setId ( integer $id )
setLayoutDefinitions ( array $layoutDefinitions ) : void
setModificationDate ( integer $modificationDate ) : void
setName ( string $name )
setParent ( mixed $parent ) : void
setParentClass ( string $parentClass ) : void
setPreviewUrl ( $previewUrl )
setPropertyVisibility ( $propertyVisibility )
setShowVariants ( boolean $showVariants )
setUseTraits ( string $useTraits ) : ClassDefinition
setUserModification ( integer $userModification ) : void
setUserOwner ( integer $userOwner ) : void

보호된 메소드들

메소드 설명
deletePhpClasses ( ) : void
getInfoDocBlock ( ) : string
getInfoDocBlockForFields ( $definition, $text, $level ) : string

메소드 상세

addFieldDefinition() 공개 메소드

public addFieldDefinition ( string $key, Data $data ) : void
$key string
$data Pimcore\Model\Object\ClassDefinition\Data
리턴 void

cleanupForExport() 공개 정적인 메소드

public static cleanupForExport ( &$data )
$data

create() 공개 정적인 메소드

public static create ( array $values = [] ) : self
$values array
리턴 self

delete() 공개 메소드

public delete ( ) : void
리턴 void

deletePhpClasses() 보호된 메소드

protected deletePhpClasses ( ) : void
리턴 void

extractDataDefinitions() 공개 메소드

public extractDataDefinitions ( array | Layout | Data $def ) : void
$def array | Pimcore\Model\Object\ClassDefinition\Layout | Pimcore\Model\Object\ClassDefinition\Data
리턴 void

getAllowInherit() 공개 메소드

public getAllowInherit ( ) : boolean
리턴 boolean

getAllowVariants() 공개 메소드

public getAllowVariants ( ) : boolean
리턴 boolean

getById() 공개 정적인 메소드

public static getById ( $id ) : mixed | null | ClassDefinition
$id
리턴 mixed | null | ClassDefinition

getByName() 공개 정적인 메소드

public static getByName ( string $name ) : self
$name string
리턴 self

getCreationDate() 공개 메소드

public getCreationDate ( ) : integer
리턴 integer

getDefinitionFile() 공개 메소드

public getDefinitionFile ( null $name = null ) : string
$name null
리턴 string

getDescription() 공개 메소드

public getDescription ( ) : string
리턴 string

getFieldDefinition() 공개 메소드

public getFieldDefinition ( $key ) : Data
리턴 Pimcore\Model\Object\ClassDefinition\Data

getFieldDefinitions() 공개 메소드

public getFieldDefinitions ( ) : Data[]
리턴 Pimcore\Model\Object\ClassDefinition\Data[]

getGroup() 공개 메소드

public getGroup ( ) : string
리턴 string

getIcon() 공개 메소드

public getIcon ( ) : string
리턴 string

getId() 공개 메소드

public getId ( ) : integer
리턴 integer

getInfoDocBlock() 보호된 메소드

protected getInfoDocBlock ( ) : string
리턴 string

getInfoDocBlockForFields() 보호된 메소드

protected getInfoDocBlockForFields ( $definition, $text, $level ) : string
$definition
$text
$level
리턴 string

getLayoutDefinitions() 공개 메소드

public getLayoutDefinitions ( ) : array
리턴 array

getModificationDate() 공개 메소드

public getModificationDate ( ) : integer
리턴 integer

getName() 공개 메소드

public getName ( ) : string
리턴 string

getParent() 공개 메소드

public getParent ( ) : mixed
리턴 mixed

getParentClass() 공개 메소드

public getParentClass ( ) : string
리턴 string

getPreviewUrl() 공개 메소드

public getPreviewUrl ( ) : string
리턴 string

getPropertyVisibility() 공개 메소드

public getPropertyVisibility ( ) : array
리턴 array

getShowVariants() 공개 메소드

public getShowVariants ( ) : boolean
리턴 boolean

getUseTraits() 공개 메소드

public getUseTraits ( ) : string
리턴 string

getUserModification() 공개 메소드

public getUserModification ( ) : integer
리턴 integer

getUserOwner() 공개 메소드

public getUserOwner ( ) : integer
리턴 integer

rename() 공개 메소드

public rename ( string $name ) : void
$name string
리턴 void

save() 공개 메소드

public save ( )

setAllowInherit() 공개 메소드

public setAllowInherit ( boolean $allowInherit ) : void
$allowInherit boolean
리턴 void

setAllowVariants() 공개 메소드

public setAllowVariants ( boolean $allowVariants ) : void
$allowVariants boolean
리턴 void

setCreationDate() 공개 메소드

public setCreationDate ( integer $creationDate ) : void
$creationDate integer
리턴 void

setDescription() 공개 메소드

public setDescription ( $description )
$description

setFieldDefinitions() 공개 메소드

public setFieldDefinitions ( array $fieldDefinitions ) : void
$fieldDefinitions array
리턴 void

setGroup() 공개 메소드

public setGroup ( string $group )
$group string

setIcon() 공개 메소드

public setIcon ( $icon )
$icon

setId() 공개 메소드

public setId ( integer $id )
$id integer

setLayoutDefinitions() 공개 메소드

public setLayoutDefinitions ( array $layoutDefinitions ) : void
$layoutDefinitions array
리턴 void

setModificationDate() 공개 메소드

public setModificationDate ( integer $modificationDate ) : void
$modificationDate integer
리턴 void

setName() 공개 메소드

public setName ( string $name )
$name string

setParent() 공개 메소드

public setParent ( mixed $parent ) : void
$parent mixed
리턴 void

setParentClass() 공개 메소드

public setParentClass ( string $parentClass ) : void
$parentClass string
리턴 void

setPreviewUrl() 공개 메소드

public setPreviewUrl ( $previewUrl )
$previewUrl

setPropertyVisibility() 공개 메소드

public setPropertyVisibility ( $propertyVisibility )
$propertyVisibility

setShowVariants() 공개 메소드

public setShowVariants ( boolean $showVariants )
$showVariants boolean

setUseTraits() 공개 메소드

public setUseTraits ( string $useTraits ) : ClassDefinition
$useTraits string
리턴 ClassDefinition

setUserModification() 공개 메소드

public setUserModification ( integer $userModification ) : void
$userModification integer
리턴 void

setUserOwner() 공개 메소드

public setUserOwner ( integer $userOwner ) : void
$userOwner integer
리턴 void

프로퍼티 상세

$allowInherit 공개적으로 프로퍼티

public bool $allowInherit
리턴 boolean

$allowVariants 공개적으로 프로퍼티

public bool $allowVariants
리턴 boolean

$creationDate 공개적으로 프로퍼티

public int $creationDate
리턴 integer

$description 공개적으로 프로퍼티

public string $description
리턴 string

$fieldDefinitions 공개적으로 프로퍼티

public array $fieldDefinitions
리턴 array

$group 공개적으로 프로퍼티

public string $group
리턴 string

$icon 공개적으로 프로퍼티

public string $icon
리턴 string

$id 공개적으로 프로퍼티

public int $id
리턴 integer

$layoutDefinitions 공개적으로 프로퍼티

public array $layoutDefinitions
리턴 array

$modificationDate 공개적으로 프로퍼티

public int $modificationDate
리턴 integer

$name 공개적으로 프로퍼티

public string $name
리턴 string

$parentClass 공개적으로 프로퍼티

Name of the parent class if set
public string $parentClass
리턴 string

$previewUrl 공개적으로 프로퍼티

public string $previewUrl
리턴 string

$propertyVisibility 공개적으로 프로퍼티

public array $propertyVisibility
리턴 array

$showVariants 공개적으로 프로퍼티

public bool $showVariants
리턴 boolean

$useTraits 공개적으로 프로퍼티

public $useTraits

$userModification 공개적으로 프로퍼티

public int $userModification
리턴 integer

$userOwner 공개적으로 프로퍼티

public int $userOwner
리턴 integer