PHP Класс Pimcore\Model\Document\Tag

Наследование: extends Pimcore\Model\AbstractModel, implements Pimcore\Model\Document\Tag\TagInterface
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$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