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

상속: extends Pimcore\Model\Object\ClassDefinition\Data\Relations\AbstractRelations, use trait Pimcore\Model\Object\ClassDefinition\Data\Extension\Relation
파일 보기 프로젝트 열기: pimcore/pimcore 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$assetTypes array Allowed asset types
$assetUploadPath string
$assetsAllowed boolean
$documentTypes array Allowed document types
$documentsAllowed boolean
$fieldtype string Static type of this element
$height integer Type for the column to query
$maxItems integer
$objectsAllowed boolean
$phpdocType string Type for the generated phpdoc
$queryColumnType string Type for the column to query
$relationType boolean
$width integer

공개 메소드들

메소드 설명
checkValidity ( mixed $data, boolean $omitMandatoryCheck = false ) Checks if data is valid for current data field
getAssetTypes ( ) : array
getAssetUploadPath ( ) : string
getAssetsAllowed ( ) : boolean
getCacheTags ( mixed $data, array $tags = [] ) : array This is a dummy and is mostly implemented by relation types
getDataForEditmode ( array $data, null | AbstractObject $object = null, mixed $params = [] ) : array
getDataForGrid ( $data, $object = null, $params = [] )
getDataForQueryResource ( $data, null | AbstractObject $object = null, mixed $params = [] )
getDataForResource ( array $data, null | AbstractObject $object = null, mixed $params = [] ) : array
getDataFromEditmode ( array $data, null | AbstractObject $object = null, mixed $params = [] ) : array
getDataFromResource ( array $data, null | AbstractObject $object = null, mixed $params = [] ) : array
getDiffDataFromEditmode ( $data, null $object = null, mixed $params = [] ) : null | Pimcore_Date See parent class.
getDiffVersionPreview ( $data, null $object = null, mixed $params = [] ) : array | string Generates a pretty version preview (similar to getVersionPreview) can be either html or a image URL. See the ObjectMerger plugin documentation for details
getDocumentTypes ( ) : array
getDocumentsAllowed ( ) : boolean
getForCsvExport ( AbstractObject $object, array $params = [] ) : string converts object data to a simple string value or CSV Export
getForWebserviceExport ( string $object, mixed $params = [] ) : mixed converts data to be exposed via webservices
getFromCsvImport ( string $importValue, null | AbstractObject $object = null, mixed $params = [] ) : Data fills object field data values from CSV Import String
getFromWebserviceImport ( mixed $value, null $relatedObject = null, mixed $params = [], null $idMapper = null ) : mixed | void
getHeight ( ) : integer
getMaxItems ( ) : integer
getObjectsAllowed ( ) : boolean
getPhpdocType ( ) : string
getVersionPreview ( array $data, null | AbstractObject $object = null, mixed $params = [] ) : string
getWidth ( ) : integer
isDiffChangeAllowed ( string $object, mixed $params = [] ) : boolean True if change is allowed in edit mode.
marshal ( mixed $value, AbstractObject $object = null, mixed $params = [] ) : mixed Encode value for packing it into a single column.
preGetData ( $object, $params = [] )
preSetData ( $object, $data, $params = [] )
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(.
setAssetTypes ( array $assetTypes )
setAssetUploadPath ( $assetUploadPath )
setAssetsAllowed ( boolean $assetsAllowed )
setDocumentTypes ( array $documentTypes )
setDocumentsAllowed ( boolean $documentsAllowed )
setHeight ( integer $height )
setMaxItems ( $maxItems )
setObjectsAllowed ( boolean $objectsAllowed )
setWidth ( integer $width )
synchronizeWithMasterDefinition ( Data $masterDefinition )
unmarshal ( mixed $value, AbstractObject $object = null, mixed $params = [] ) : mixed See marshal

메소드 상세

checkValidity() 공개 메소드

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

getAssetTypes() 공개 메소드

public getAssetTypes ( ) : array
리턴 array

getAssetUploadPath() 공개 메소드

public getAssetUploadPath ( ) : string
리턴 string

getAssetsAllowed() 공개 메소드

public getAssetsAllowed ( ) : boolean
리턴 boolean

getCacheTags() 공개 메소드

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

getDataForEditmode() 공개 메소드

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

getDataForGrid() 공개 메소드

public getDataForGrid ( $data, $object = null, $params = [] )

getDataForQueryResource() 공개 메소드

public getDataForQueryResource ( $data, null | AbstractObject $object = null, mixed $params = [] )
$data
$object null | Pimcore\Model\Object\AbstractObject
$params mixed

getDataForResource() 공개 메소드

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

getDataFromEditmode() 공개 메소드

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

getDataFromResource() 공개 메소드

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

getDiffDataFromEditmode() 공개 메소드

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

getDiffVersionPreview() 공개 메소드

Generates a pretty version preview (similar to getVersionPreview) can be either html or a image URL. See the ObjectMerger plugin documentation for details
public getDiffVersionPreview ( $data, null $object = null, mixed $params = [] ) : array | string
$data
$object null
$params mixed
리턴 array | string

getDocumentTypes() 공개 메소드

public getDocumentTypes ( ) : array
리턴 array

getDocumentsAllowed() 공개 메소드

public getDocumentsAllowed ( ) : boolean
리턴 boolean

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() 공개 메소드

converts data to be exposed via webservices
public getForWebserviceExport ( string $object, mixed $params = [] ) : mixed
$object string
$params mixed
리턴 mixed

getFromCsvImport() 공개 메소드

fills object field data values from CSV Import String
public getFromCsvImport ( string $importValue, null | AbstractObject $object = null, mixed $params = [] ) : Data
$importValue string
$object null | Pimcore\Model\Object\AbstractObject
$params mixed
리턴 Pimcore\Model\Object\ClassDefinition\Data

getFromWebserviceImport() 공개 메소드

public getFromWebserviceImport ( mixed $value, null $relatedObject = null, mixed $params = [], null $idMapper = null ) : mixed | void
$value mixed
$relatedObject null
$params mixed
$idMapper null
리턴 mixed | void

getHeight() 공개 메소드

public getHeight ( ) : integer
리턴 integer

getMaxItems() 공개 메소드

public getMaxItems ( ) : integer
리턴 integer

getObjectsAllowed() 공개 메소드

public getObjectsAllowed ( ) : boolean
리턴 boolean

getPhpdocType() 공개 메소드

public getPhpdocType ( ) : string
리턴 string

getVersionPreview() 공개 메소드

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

getWidth() 공개 메소드

public getWidth ( ) : integer
리턴 integer

isDiffChangeAllowed() 공개 메소드

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

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 ( $object, $params = [] )

preSetData() 공개 메소드

public preSetData ( $object, $data, $params = [] )

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

setAssetTypes() 공개 메소드

public setAssetTypes ( array $assetTypes )
$assetTypes array

setAssetUploadPath() 공개 메소드

public setAssetUploadPath ( $assetUploadPath )
$assetUploadPath

setAssetsAllowed() 공개 메소드

public setAssetsAllowed ( boolean $assetsAllowed )
$assetsAllowed boolean

setDocumentTypes() 공개 메소드

public setDocumentTypes ( array $documentTypes )
$documentTypes array

setDocumentsAllowed() 공개 메소드

public setDocumentsAllowed ( boolean $documentsAllowed )
$documentsAllowed boolean

setHeight() 공개 메소드

public setHeight ( integer $height )
$height integer

setMaxItems() 공개 메소드

public setMaxItems ( $maxItems )
$maxItems

setObjectsAllowed() 공개 메소드

public setObjectsAllowed ( boolean $objectsAllowed )
$objectsAllowed boolean

setWidth() 공개 메소드

public setWidth ( integer $width )
$width integer

synchronizeWithMasterDefinition() 공개 메소드

public synchronizeWithMasterDefinition ( Data $masterDefinition )
$masterDefinition Pimcore\Model\Object\ClassDefinition\Data

unmarshal() 공개 메소드

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

프로퍼티 상세

$assetTypes 공개적으로 프로퍼티

Allowed asset types
public array $assetTypes
리턴 array

$assetUploadPath 공개적으로 프로퍼티

public string $assetUploadPath
리턴 string

$assetsAllowed 공개적으로 프로퍼티

public bool $assetsAllowed
리턴 boolean

$documentTypes 공개적으로 프로퍼티

Allowed document types
public array $documentTypes
리턴 array

$documentsAllowed 공개적으로 프로퍼티

public bool $documentsAllowed
리턴 boolean

$fieldtype 공개적으로 프로퍼티

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

$height 공개적으로 프로퍼티

Type for the column to query
public int $height
리턴 integer

$maxItems 공개적으로 프로퍼티

public int $maxItems
리턴 integer

$objectsAllowed 공개적으로 프로퍼티

public bool $objectsAllowed
리턴 boolean

$phpdocType 공개적으로 프로퍼티

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

$queryColumnType 공개적으로 프로퍼티

Type for the column to query
public string $queryColumnType
리턴 string

$relationType 공개적으로 프로퍼티

public bool $relationType
리턴 boolean

$width 공개적으로 프로퍼티

public int $width
리턴 integer