PHP 클래스 Pimcore\Model\Document\Tag

상속: extends Pimcore\Model\AbstractModel, implements Pimcore\Model\Document\Tag\TagInterface
파일 보기 프로젝트 열기: pimcore/pimcore 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$controller Pimcore\Controller\Action
$documentId integer Element belongs to the ID of the document
$editmode boolean In Editmode or not
$inherited boolean
$name string
$options array ..
$realName string Contains the real name of the editable without the prefixes and suffixes which are generated automatically by blocks and areablocks
$view Pimcore\View

공개 메소드들

메소드 설명
__sleep ( ) : void Returns only the properties which should be serialized
__toString ( ) : string direct output to the frontend
admin ( ) : string
buildTagName ( $type, $name, null $document = null ) : string
checkValidity ( ) : boolean
factory ( $type, $name, $documentId, null $config = null, null $controller = null, null $view = null, null $editmode = null ) : mixed
getCacheTags ( $ownerDocument, array $tags = [] ) : array
getController ( ) : Pimcore\Controller\Action
getDataForResource ( )
getDocumentId ( ) : integer
getEditmode ( ) : boolean
getForWebserviceExport ( $document = null, mixed $params = [] ) : array Returns the current tag's data for web service export
getFromWebserviceImport ( Pimcore\Model\Webservice\Data\Document\Element $wsElement, $document = null, mixed $params = [], $idMapper = null ) : Pimcore\Model\Webservice\Data\Document\Element Receives a standard class object from webservice import and fills the current tag's data
getInherited ( ) : boolean
getName ( ) : string
getOptions ( ) : array
getRealName ( ) : string
getValue ( ) : mixed
getView ( ) : View
resolveDependencies ( ) This is a dummy and is mostly implemented by relation types
setController ( Pimcore\Controller\Action $controller )
setDocumentId ( integer $id )
setEditmode ( boolean $editmode )
setInherited ( $inherited )
setName ( string $name )
setOptions ( array $options )
setRealName ( string $realName )
setView ( View $view )

메소드 상세

__sleep() 공개 메소드

Returns only the properties which should be serialized
public __sleep ( ) : void
리턴 void

__toString() 공개 메소드

direct output to the frontend
public __toString ( ) : string
리턴 string

admin() 공개 메소드

public admin ( ) : string
리턴 string

buildTagName() 공개 정적인 메소드

public static buildTagName ( $type, $name, null $document = null ) : string
$type
$name
$document null
리턴 string

checkValidity() 공개 메소드

public checkValidity ( ) : boolean
리턴 boolean

factory() 공개 정적인 메소드

public static factory ( $type, $name, $documentId, null $config = null, null $controller = null, null $view = null, null $editmode = null ) : mixed
$type
$name
$documentId
$config null
$controller null
$view null
$editmode null
리턴 mixed

getCacheTags() 공개 메소드

public getCacheTags ( $ownerDocument, array $tags = [] ) : array
$ownerDocument
$tags array
리턴 array

getController() 공개 메소드

public getController ( ) : Pimcore\Controller\Action
리턴 Pimcore\Controller\Action

getDataForResource() 공개 메소드

public getDataForResource ( )

getDocumentId() 공개 메소드

public getDocumentId ( ) : integer
리턴 integer

getEditmode() 공개 메소드

public getEditmode ( ) : boolean
리턴 boolean

getForWebserviceExport() 공개 메소드

Returns the current tag's data for web service export
public getForWebserviceExport ( $document = null, mixed $params = [] ) : array
$params mixed
리턴 array

getFromWebserviceImport() 공개 메소드

Receives a standard class object from webservice import and fills the current tag's data
public getFromWebserviceImport ( Pimcore\Model\Webservice\Data\Document\Element $wsElement, $document = null, mixed $params = [], $idMapper = null ) : Pimcore\Model\Webservice\Data\Document\Element
$wsElement Pimcore\Model\Webservice\Data\Document\Element
$params mixed
리턴 Pimcore\Model\Webservice\Data\Document\Element

getInherited() 공개 메소드

public getInherited ( ) : boolean
리턴 boolean

getName() 공개 메소드

public getName ( ) : string
리턴 string

getOptions() 공개 메소드

public getOptions ( ) : array
리턴 array

getRealName() 공개 메소드

public getRealName ( ) : string
리턴 string

getValue() 공개 메소드

public getValue ( ) : mixed
리턴 mixed

getView() 공개 메소드

public getView ( ) : View
리턴 Pimcore\View

resolveDependencies() 공개 메소드

This is a dummy and is mostly implemented by relation types
public resolveDependencies ( )

setController() 공개 메소드

public setController ( Pimcore\Controller\Action $controller )
$controller Pimcore\Controller\Action

setDocumentId() 공개 메소드

public setDocumentId ( integer $id )
$id integer

setEditmode() 공개 메소드

public setEditmode ( boolean $editmode )
$editmode boolean

setInherited() 공개 메소드

public setInherited ( $inherited )
$inherited

setName() 공개 메소드

public setName ( string $name )
$name string

setOptions() 공개 메소드

public setOptions ( array $options )
$options array

setRealName() 공개 메소드

public setRealName ( string $realName )
$realName string

setView() 공개 메소드

public setView ( View $view )
$view Pimcore\View

프로퍼티 상세

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

protected Action,Pimcore\Controller $controller
리턴 Pimcore\Controller\Action

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

Element belongs to the ID of the document
protected int $documentId
리턴 integer

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

In Editmode or not
protected bool $editmode
리턴 boolean

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

protected bool $inherited
리턴 boolean

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

protected string $name
리턴 string

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

..
protected array $options
리턴 array

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

Contains the real name of the editable without the prefixes and suffixes which are generated automatically by blocks and areablocks
protected string $realName
리턴 string

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

protected View,Pimcore $view
리턴 Pimcore\View