PHP 클래스 Pimcore\Model\Object\ClassDefinition\Data\Relations\AbstractRelations

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

공개 프로퍼티들

프로퍼티 타입 설명
$classes array Set of allowed classes
$lazyLoading boolean
$pathFormatterClass null | string Optional path formatter class
$remoteOwner boolean

공개 메소드들

메소드 설명
getClasses ( ) : array
getLazyLoading ( ) : boolean
getPathFormatterClass ( ) : null | string
isRemoteOwner ( ) : boolean
load ( $object, array $params = [] ) : null
rewriteIdsService ( mixed $data, array $idMapping ) : array 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 = [] )
setClasses ( array $classes )
setLazyLoading ( $lazyLoading )
setPathFormatterClass ( null | string $pathFormatterClass )

보호된 메소드들

메소드 설명
allowAssetRelation ( Asset $asset ) : boolean Checks if an asset is an allowed relation
allowDocumentRelation ( Document $document ) : boolean Checks if an document is an allowed relation
allowObjectRelation ( AbstractObject $object ) : boolean Checks if an object is an allowed relation
enrichRelation ( $object, $params, &$classId, array &$relation = [] ) Enrich relation with type-specific data.

메소드 상세

allowAssetRelation() 보호된 메소드

Checks if an asset is an allowed relation
protected allowAssetRelation ( Asset $asset ) : boolean
$asset Asset
리턴 boolean

allowDocumentRelation() 보호된 메소드

Checks if an document is an allowed relation
protected allowDocumentRelation ( Document $document ) : boolean
$document Document
리턴 boolean

allowObjectRelation() 보호된 메소드

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

enrichRelation() 보호된 메소드

Enrich relation with type-specific data.
protected enrichRelation ( $object, $params, &$classId, array &$relation = [] )
$object
$params
$classId
$relation array

getClasses() 공개 메소드

public getClasses ( ) : array
리턴 array

getLazyLoading() 공개 메소드

public getLazyLoading ( ) : boolean
리턴 boolean

getPathFormatterClass() 공개 메소드

public getPathFormatterClass ( ) : null | string
리턴 null | string

isRemoteOwner() 공개 메소드

public isRemoteOwner ( ) : boolean
리턴 boolean

load() 공개 메소드

public load ( $object, array $params = [] ) : null
$object
$params array
리턴 null

rewriteIdsService() 공개 메소드

..), "asset" => array(...) )
public rewriteIdsService ( mixed $data, array $idMapping ) : array
$data mixed
$idMapping array
리턴 array

save() 공개 메소드

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

setClasses() 공개 메소드

public setClasses ( array $classes )
$classes array

setLazyLoading() 공개 메소드

public setLazyLoading ( $lazyLoading )
$lazyLoading

setPathFormatterClass() 공개 메소드

public setPathFormatterClass ( null | string $pathFormatterClass )
$pathFormatterClass null | string

프로퍼티 상세

$classes 공개적으로 프로퍼티

Set of allowed classes
public array $classes
리턴 array

$lazyLoading 공개적으로 프로퍼티

public bool $lazyLoading
리턴 boolean

$pathFormatterClass 공개적으로 프로퍼티

Optional path formatter class
public null|string $pathFormatterClass
리턴 null | string

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

public static bool $remoteOwner
리턴 boolean