PHP Class Pimcore\Model\Object\Fieldcollection\Definition

Inheritance: extends Pimcore\Model\AbstractModel, use trait Pimcore\Model\Object\ClassDefinition\Helper\VarExport
显示文件 Open project: pimcore/pimcore Class Usage Examples

Public Properties

Property Type Description
$key string
$layoutDefinitions array
$parentClass string

Public Methods

Method Description
addFieldDefinition ( string $key, Data $data )
delete ( )
extractDataDefinitions ( array | Layout | Data $def ) : void
getByKey ( $key )
getFieldDefinition ( $key ) : Data
getFieldDefinitions ( ) : array
getKey ( ) : string
getLayoutDefinitions ( ) : array
getParentClass ( ) : string
save ( )
setFieldDefinitions ( array $fieldDefinitions )
setKey ( string $key )
setLayoutDefinitions ( array $layoutDefinitions )
setParentClass ( string $parentClass )

Protected Methods

Method Description
getDefinitionFile ( ) : string
getInfoDocBlock ( ) : string
getPhpClassFile ( ) : string

Method Details

addFieldDefinition() public method

public addFieldDefinition ( string $key, Data $data )
$key string
$data Pimcore\Model\Object\ClassDefinition\Data

delete() public method

public delete ( )

extractDataDefinitions() public method

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

getByKey() public static method

public static getByKey ( $key )
$key

getDefinitionFile() protected method

protected getDefinitionFile ( ) : string
return string

getFieldDefinition() public method

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

getFieldDefinitions() public method

public getFieldDefinitions ( ) : array
return array

getInfoDocBlock() protected method

protected getInfoDocBlock ( ) : string
return string

getKey() public method

public getKey ( ) : string
return string

getLayoutDefinitions() public method

public getLayoutDefinitions ( ) : array
return array

getParentClass() public method

public getParentClass ( ) : string
return string

getPhpClassFile() protected method

protected getPhpClassFile ( ) : string
return string

save() public method

public save ( )

setFieldDefinitions() public method

public setFieldDefinitions ( array $fieldDefinitions )
$fieldDefinitions array

setKey() public method

public setKey ( string $key )
$key string

setLayoutDefinitions() public method

public setLayoutDefinitions ( array $layoutDefinitions )
$layoutDefinitions array

setParentClass() public method

public setParentClass ( string $parentClass )
$parentClass string

Property Details

$key public_oe property

public string $key
return string

$layoutDefinitions public_oe property

public array $layoutDefinitions
return array

$parentClass public_oe property

public string $parentClass
return string