PHP 클래스 Pimcore\Model\Object\ClassDefinition\Data\Localizedfields

상속: extends Pimcore\Model\Object\ClassDefinition\Data
파일 보기 프로젝트 열기: pimcore/pimcore

공개 프로퍼티들

프로퍼티 타입 설명
$childs array
$fieldDefinitionsCache array
$fieldtype string Static type of this element
$height integer
$labelWidth integer
$layout string
$maxTabs integer
$name string
$phpdocType string Type for the generated phpdoc
$region string
$title string
$width integer

보호된 프로퍼티들

프로퍼티 타입 설명
$referencedFields array contains further localized field definitions if there are more than one localized fields in on class

공개 메소드들

메소드 설명
__sleep ( ) : array
addChild ( mixed $child ) : void
addReferencedField ( $field )
checkValidity ( mixed $data, boolean $omitMandatoryCheck = false ) Checks if data is valid for current data field
classSaved ( $class, $params = [] ) : void This method is called in Object|Class::save() and is used to create the database table for the localized data
delete ( $object, $params = [] )
doGetFieldDefinitions ( null $def = null, array $fields = [] ) : array
getCacheTags ( mixed $data, array $tags = [] ) : array This is a dummy and is mostly implemented by relation types
getChildren ( ) : array
getDataForEditmode ( string $data, null | AbstractObject $object = null, mixed $params = [] ) : string
getDataForGrid ( $data, null $object = null, mixed $params = [] ) : stdClass
getDataForSearchIndex ( $object, mixed $params = [] ) : string
getDataFromEditmode ( string $data, null | AbstractObject $object = null, mixed $params = [] ) : string
getDiffDataForEditmode ( mixed $data, null $object = null, mixed $params = [] ) : array | null See parent class.
getDiffDataFromEditmode ( $data, null $object = null, mixed $params = [] ) : null | Pimcore_Date See parent class.
getFieldDefinitions ( ) : array
getFielddefinition ( $name ) : mixed
getForCsvExport ( AbstractObject $object, array $params = [] ) : string converts object data to a simple string value or CSV Export
getForWebserviceExport ( AbstractObject $object, mixed $params = [] ) : mixed
getFromCsvImport ( string $importValue, null | AbstractObject $object = null, mixed $params = [] ) : null
getFromWebserviceImport ( mixed $value, null $object = null, mixed $params = [], null $idMapper = null ) : mixed | null | Localizedfield
getGetterCode ( $class ) : string
getHeight ( ) : integer
getLabelWidth ( ) : integer
getLayout ( ) : string
getMaxTabs ( ) : integer
getName ( ) : string
getReferencedFields ( ) : array
getRegion ( ) : string
getSetterCode ( $class ) : string
getTitle ( ) : string
getVersionPreview ( string $data, null | AbstractObject $object = null, mixed $params = [] ) : string
getWidth ( ) : integer
hasChildren ( ) : boolean
isDiffChangeAllowed ( string $object, mixed $params = [] ) : boolean True if change is allowed in edit mode.
load ( $object, array $params = [] ) : Localizedfield
marshal ( mixed $value, AbstractObject $object = null, mixed $params = [] ) : mixed Encode value for packing it into a single column.
preGetData ( $container, array $params = [] ) : Localizedfield
resolveDependencies ( $data ) : array
rewriteIds ( mixed $object, array $idMapping, array $params = [] ) : Pimcore\Model\Element\ElementInterface Rewrites id from source to target, $idMapping contains array( "document" => array( SOURCE_ID => TARGET_ID, SOURCE_ID => TARGET_ID ), "object" => array(.
save ( $object, array $params = [] )
setChildren ( array $children )
setHeight ( $height )
setLabelWidth ( integer $labelWidth )
setLayout ( $layout )
setMaxTabs ( integer $maxTabs )
setName ( string $name )
setReferencedFields ( array $referencedFields )
setRegion ( $region )
setTitle ( string $title )
setValues ( mixed $data = [], array $blockedKeys = [] ) : void
setWidth ( $width )
unmarshal ( mixed $value, AbstractObject $object = null, mixed $params = [] ) : mixed See marshal

보호된 메소드들

메소드 설명
getDataForValidity ( Localizedfield | mixed $localizedObject, array $languages ) : array

비공개 메소드들

메소드 설명
doGetDataForEditMode ( $data, $object, &$fieldData, &$metaData, integer $level = 1 ) : array

메소드 상세

__sleep() 공개 메소드

public __sleep ( ) : array
리턴 array

addChild() 공개 메소드

public addChild ( mixed $child ) : void
$child mixed
리턴 void

addReferencedField() 공개 메소드

public addReferencedField ( $field )
$field

checkValidity() 공개 메소드

Checks if data is valid for current data field
public checkValidity ( mixed $data, boolean $omitMandatoryCheck = false )
$data mixed
$omitMandatoryCheck boolean

classSaved() 공개 메소드

This method is called in Object|Class::save() and is used to create the database table for the localized data
public classSaved ( $class, $params = [] ) : void
리턴 void

delete() 공개 메소드

public delete ( $object, $params = [] )
$object

doGetFieldDefinitions() 공개 메소드

public doGetFieldDefinitions ( null $def = null, array $fields = [] ) : array
$def null
$fields array
리턴 array

getCacheTags() 공개 메소드

This is a dummy and is mostly implemented by relation types
public getCacheTags ( mixed $data, array $tags = [] ) : array
$data mixed
$tags array
리턴 array

getChildren() 공개 메소드

public getChildren ( ) : array
리턴 array

getDataForEditmode() 공개 메소드

또한 보기: Object\ClassDefinition\Data::getDataForEditmode
public getDataForEditmode ( string $data, null | AbstractObject $object = null, mixed $params = [] ) : string
$data string
$object null | Pimcore\Model\Object\AbstractObject
$params mixed
리턴 string

getDataForGrid() 공개 메소드

public getDataForGrid ( $data, null $object = null, mixed $params = [] ) : stdClass
$data
$object null
$params mixed
리턴 stdClass

getDataForSearchIndex() 공개 메소드

public getDataForSearchIndex ( $object, mixed $params = [] ) : string
$object
$params mixed
리턴 string

getDataForValidity() 보호된 메소드

protected getDataForValidity ( Localizedfield | mixed $localizedObject, array $languages ) : array
$localizedObject Pimcore\Model\Object\Localizedfield | mixed
$languages array
리턴 array

getDataFromEditmode() 공개 메소드

또한 보기: Model\Object\ClassDefinition\Data::getDataFromEditmode
public getDataFromEditmode ( string $data, null | AbstractObject $object = null, mixed $params = [] ) : string
$data string
$object null | Pimcore\Model\Object\AbstractObject
$params mixed
리턴 string

getDiffDataForEditmode() 공개 메소드

See parent class.
public getDiffDataForEditmode ( mixed $data, null $object = null, mixed $params = [] ) : array | null
$data mixed
$object null
$params mixed
리턴 array | null

getDiffDataFromEditmode() 공개 메소드

See parent class.
public getDiffDataFromEditmode ( $data, null $object = null, mixed $params = [] ) : null | Pimcore_Date
$data
$object null
$params mixed
리턴 null | Pimcore_Date

getFieldDefinitions() 공개 메소드

public getFieldDefinitions ( ) : array
리턴 array

getFielddefinition() 공개 메소드

public getFielddefinition ( $name ) : mixed
$name
리턴 mixed

getForCsvExport() 공개 메소드

converts object data to a simple string value or CSV Export
public getForCsvExport ( AbstractObject $object, array $params = [] ) : string
$object Pimcore\Model\Object\AbstractObject
$params array
리턴 string

getForWebserviceExport() 공개 메소드

public getForWebserviceExport ( AbstractObject $object, mixed $params = [] ) : mixed
$object Pimcore\Model\Object\AbstractObject
$params mixed
리턴 mixed

getFromCsvImport() 공개 메소드

public getFromCsvImport ( string $importValue, null | AbstractObject $object = null, mixed $params = [] ) : null
$importValue string
$object null | Pimcore\Model\Object\AbstractObject
$params mixed
리턴 null

getFromWebserviceImport() 공개 메소드

public getFromWebserviceImport ( mixed $value, null $object = null, mixed $params = [], null $idMapper = null ) : mixed | null | Localizedfield
$value mixed
$object null
$params mixed
$idMapper null
리턴 mixed | null | Pimcore\Model\Object\Localizedfield

getGetterCode() 공개 메소드

public getGetterCode ( $class ) : string
$class
리턴 string

getHeight() 공개 메소드

public getHeight ( ) : integer
리턴 integer

getLabelWidth() 공개 메소드

public getLabelWidth ( ) : integer
리턴 integer

getLayout() 공개 메소드

public getLayout ( ) : string
리턴 string

getMaxTabs() 공개 메소드

public getMaxTabs ( ) : integer
리턴 integer

getName() 공개 메소드

public getName ( ) : string
리턴 string

getReferencedFields() 공개 메소드

public getReferencedFields ( ) : array
리턴 array

getRegion() 공개 메소드

public getRegion ( ) : string
리턴 string

getSetterCode() 공개 메소드

public getSetterCode ( $class ) : string
$class
리턴 string

getTitle() 공개 메소드

public getTitle ( ) : string
리턴 string

getVersionPreview() 공개 메소드

또한 보기: Object\ClassDefinition\Data::getVersionPreview
public getVersionPreview ( string $data, null | AbstractObject $object = null, mixed $params = [] ) : string
$data string
$object null | Pimcore\Model\Object\AbstractObject
$params mixed
리턴 string

getWidth() 공개 메소드

public getWidth ( ) : integer
리턴 integer

hasChildren() 공개 메소드

public hasChildren ( ) : boolean
리턴 boolean

isDiffChangeAllowed() 공개 메소드

True if change is allowed in edit mode.
public isDiffChangeAllowed ( string $object, mixed $params = [] ) : boolean
$object string
$params mixed
리턴 boolean

load() 공개 메소드

public load ( $object, array $params = [] ) : Localizedfield
$object
$params array
리턴 Pimcore\Model\Object\Localizedfield

marshal() 공개 메소드

Encode value for packing it into a single column.
public marshal ( mixed $value, AbstractObject $object = null, mixed $params = [] ) : mixed
$value mixed
$object Pimcore\Model\Object\AbstractObject
$params mixed
리턴 mixed

preGetData() 공개 메소드

public preGetData ( $container, array $params = [] ) : Localizedfield
$params array
리턴 Pimcore\Model\Object\Localizedfield

resolveDependencies() 공개 메소드

public resolveDependencies ( $data ) : array
$data
리턴 array

rewriteIds() 공개 메소드

..), "asset" => array(...) )
public rewriteIds ( mixed $object, array $idMapping, array $params = [] ) : Pimcore\Model\Element\ElementInterface
$object mixed
$idMapping array
$params array
리턴 Pimcore\Model\Element\ElementInterface

save() 공개 메소드

public save ( $object, array $params = [] )
$object
$params array

setChildren() 공개 메소드

public setChildren ( array $children )
$children array

setHeight() 공개 메소드

public setHeight ( $height )
$height

setLabelWidth() 공개 메소드

public setLabelWidth ( integer $labelWidth )
$labelWidth integer

setLayout() 공개 메소드

public setLayout ( $layout )
$layout

setMaxTabs() 공개 메소드

public setMaxTabs ( integer $maxTabs )
$maxTabs integer

setName() 공개 메소드

public setName ( string $name )
$name string

setReferencedFields() 공개 메소드

public setReferencedFields ( array $referencedFields )
$referencedFields array

setRegion() 공개 메소드

public setRegion ( $region )
$region

setTitle() 공개 메소드

public setTitle ( string $title )
$title string

setValues() 공개 메소드

public setValues ( mixed $data = [], array $blockedKeys = [] ) : void
$data mixed
$blockedKeys array
리턴 void

setWidth() 공개 메소드

public setWidth ( $width )
$width

unmarshal() 공개 메소드

See marshal
public unmarshal ( mixed $value, AbstractObject $object = null, mixed $params = [] ) : mixed
$value mixed
$object Pimcore\Model\Object\AbstractObject
$params mixed
리턴 mixed

프로퍼티 상세

$childs 공개적으로 프로퍼티

public array $childs
리턴 array

$fieldDefinitionsCache 공개적으로 프로퍼티

public array $fieldDefinitionsCache
리턴 array

$fieldtype 공개적으로 프로퍼티

Static type of this element
public string $fieldtype
리턴 string

$height 공개적으로 프로퍼티

public int $height
리턴 integer

$labelWidth 공개적으로 프로퍼티

public int $labelWidth
리턴 integer

$layout 공개적으로 프로퍼티

public string $layout
리턴 string

$maxTabs 공개적으로 프로퍼티

public int $maxTabs
리턴 integer

$name 공개적으로 프로퍼티

public string $name
리턴 string

$phpdocType 공개적으로 프로퍼티

Type for the generated phpdoc
public string $phpdocType
리턴 string

$referencedFields 보호되어 있는 프로퍼티

contains further localized field definitions if there are more than one localized fields in on class
protected array $referencedFields
리턴 array

$region 공개적으로 프로퍼티

public string $region
리턴 string

$title 공개적으로 프로퍼티

public string $title
리턴 string

$width 공개적으로 프로퍼티

public int $width
리턴 integer