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

상속: extends Objects
파일 보기 프로젝트 열기: pimcore/pimcore

공개 프로퍼티들

프로퍼티 타입 설명
$lazyLoading boolean NonOwnerObjects must be lazy loading!
$ownerClassId number
$ownerClassName string
$ownerFieldName string
$remoteOwner boolean

공개 메소드들

메소드 설명
checkValidity ( mixed $data, boolean $omitMandatoryCheck = false ) Checks if data is valid for current data field
getCacheTags ( mixed $data, array $tags = [] ) : array This is a dummy and is mostly implemented by relation types
getDataForQueryResource ( array $data, null | AbstractObject $object = null, mixed $params = [] ) : string
getDataForResource ( array $data, null | AbstractObject $object = null, mixed $params = [] ) : array
getForCsvExport ( AbstractObject $object, array $params = [] ) : string converts object data to a simple string value or CSV Export
getForWebserviceExport ( AbstractObject $object, mixed $params = [] ) : array | null
getFromCsvImport ( string $importValue, null | AbstractObject $object = null, mixed $params = [] ) : Data fills object field data values from CSV Import String
getFromWebserviceImport ( mixed $value, null | AbstractObject $object = null, mixed $params = [], $idMapper = null ) : mixed converts data to be imported via webservices
getLazyLoading ( ) : boolean
getOwnerClassId ( ) : number
getOwnerClassName ( ) : string
getOwnerFieldName ( ) : string
isRemoteOwner ( ) : boolean
resolveDependencies ( mixed $data ) : array
setClasses ( array $classes )
setLazyLoading ( $lazyLoading )
setOwnerClassName ( string $ownerClassName )
setOwnerFieldName ( string $fieldName )

보호된 메소드들

메소드 설명
allowObjectRelation ( AbstractObject $object ) : boolean Checks if an object is an allowed relation

메소드 상세

allowObjectRelation() 보호된 메소드

Checks if an object is an allowed relation
protected allowObjectRelation ( AbstractObject $object ) : boolean
$object Pimcore\Model\Object\AbstractObject
리턴 boolean

checkValidity() 공개 메소드

Checks if data is valid for current data field
public checkValidity ( mixed $data, boolean $omitMandatoryCheck = false )
$data mixed
$omitMandatoryCheck 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

getDataForQueryResource() 공개 메소드

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

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

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 = [] ) : array | null
$object Pimcore\Model\Object\AbstractObject
$params mixed
리턴 array | null

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

converts data to be imported via webservices
public getFromWebserviceImport ( mixed $value, null | AbstractObject $object = null, mixed $params = [], $idMapper = null ) : mixed
$value mixed
$object null | Pimcore\Model\Object\AbstractObject
$params mixed
리턴 mixed

getLazyLoading() 공개 메소드

public getLazyLoading ( ) : boolean
리턴 boolean

getOwnerClassId() 공개 메소드

public getOwnerClassId ( ) : number
리턴 number

getOwnerClassName() 공개 메소드

public getOwnerClassName ( ) : string
리턴 string

getOwnerFieldName() 공개 메소드

public getOwnerFieldName ( ) : string
리턴 string

isRemoteOwner() 공개 메소드

public isRemoteOwner ( ) : boolean
리턴 boolean

resolveDependencies() 공개 메소드

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

setClasses() 공개 메소드

public setClasses ( array $classes )
$classes array

setLazyLoading() 공개 메소드

public setLazyLoading ( $lazyLoading )
$lazyLoading

setOwnerClassName() 공개 메소드

public setOwnerClassName ( string $ownerClassName )
$ownerClassName string

setOwnerFieldName() 공개 메소드

public setOwnerFieldName ( string $fieldName )
$fieldName string

프로퍼티 상세

$lazyLoading 공개적으로 프로퍼티

NonOwnerObjects must be lazy loading!
public bool $lazyLoading
리턴 boolean

$ownerClassId 공개적으로 프로퍼티

public number $ownerClassId
리턴 number

$ownerClassName 공개적으로 프로퍼티

public string $ownerClassName
리턴 string

$ownerFieldName 공개적으로 프로퍼티

public string $ownerFieldName
리턴 string

$remoteOwner 공개적으로 정적으로 프로퍼티

public static bool $remoteOwner
리턴 boolean