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

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

Открытые свойства

Свойство Тип Описание
$current integer Current step of the block while iteration
$currentIndex array
$indices array Contains an array of indices, which represent the order of the elements in the block

Открытые методы

Метод Описание
__wakeup ( ) : void If object was serialized, set the counter back to 0
admin ( )
blockConstruct ( )
blockDestruct ( )
blockEnd ( ) : void Is called evertime a new iteration ends (new entry of the block while looping)
blockStart ( ) : void Is called evertime a new iteration starts (new entry of the block while looping)
content ( )
end ( ) : void Is executed at the end of the loop and removes the settings set in start()
frontend ( )
getAreaDirectory ( ) : string
getAreaDirs ( ) : array
getBrickConfig ( $name )
getBrickConfigs ( ) : array | mixed
getCount ( ) : integer Return the amount of block elements
getCurrent ( ) : integer Return current iteration step
getCurrentIndex ( ) : integer Return current index
getData ( ) : mixed
getElement ( $name ) : Pimcore\Model\Document\Tag\Areablock\Item[]
getFromWebserviceImport ( Pimcore\Model\Webservice\Data\Document\Element $wsElement, $document = null, mixed $params = [], null $idMapper = null )
getPathForBrick ( $name ) : string
getType ( ) : string
isBrickEnabled ( $name ) : boolean
isCustomAreaPath ( ) : boolean
isEmpty ( ) : boolean
loop ( )
outputEditmode ( string $v ) : void Sends data to the output stream
renderIndex ( $index )
setDataFromEditmode ( mixed $data )
setDataFromResource ( mixed $data )
setOptions ( array $options ) : void
setupStaticEnvironment ( ) : void Setup some settings that are needed for blocks
start ( ) : void Is executed at the beginning of the loop and setup some general settings

Защищенные методы

Метод Описание
getToolBarDefaultConfig ( )

Описание методов

__wakeup() публичный метод

If object was serialized, set the counter back to 0
public __wakeup ( ) : void
Результат void

admin() публичный метод

См. также: Document\Tag\TagInterface::admin
public admin ( )

blockConstruct() публичный метод

public blockConstruct ( )

blockDestruct() публичный метод

public blockDestruct ( )

blockEnd() публичный метод

Is called evertime a new iteration ends (new entry of the block while looping)
public blockEnd ( ) : void
Результат void

blockStart() публичный метод

Is called evertime a new iteration starts (new entry of the block while looping)
public blockStart ( ) : void
Результат void

content() публичный метод

public content ( )

end() публичный метод

Is executed at the end of the loop and removes the settings set in start()
public end ( ) : void
Результат void

frontend() публичный метод

См. также: Document\Tag\TagInterface::frontend
public frontend ( )

getAreaDirectory() публичный метод

public getAreaDirectory ( ) : string
Результат string

getAreaDirs() публичный метод

public getAreaDirs ( ) : array
Результат array

getBrickConfig() публичный метод

public getBrickConfig ( $name )
$name

getBrickConfigs() публичный метод

public getBrickConfigs ( ) : array | mixed
Результат array | mixed

getCount() публичный метод

Return the amount of block elements
public getCount ( ) : integer
Результат integer

getCurrent() публичный метод

Return current iteration step
public getCurrent ( ) : integer
Результат integer

getCurrentIndex() публичный метод

Return current index
public getCurrentIndex ( ) : integer
Результат integer

getData() публичный метод

См. также: Document\Tag\TagInterface::getData
public getData ( ) : mixed
Результат mixed

getElement() публичный метод

public getElement ( $name ) : Pimcore\Model\Document\Tag\Areablock\Item[]
$name
Результат Pimcore\Model\Document\Tag\Areablock\Item[]

getFromWebserviceImport() публичный метод

public getFromWebserviceImport ( Pimcore\Model\Webservice\Data\Document\Element $wsElement, $document = null, mixed $params = [], null $idMapper = null )
$wsElement Pimcore\Model\Webservice\Data\Document\Element
$params mixed
$idMapper null

getPathForBrick() публичный метод

public getPathForBrick ( $name ) : string
$name
Результат string

getToolBarDefaultConfig() защищенный метод

protected getToolBarDefaultConfig ( )

getType() публичный метод

См. также: Document\Tag\TagInterface::getType
public getType ( ) : string
Результат string

isBrickEnabled() публичный метод

public isBrickEnabled ( $name ) : boolean
$name
Результат boolean

isCustomAreaPath() публичный метод

public isCustomAreaPath ( ) : boolean
Результат boolean

isEmpty() публичный метод

public isEmpty ( ) : boolean
Результат boolean

loop() публичный метод

public loop ( )

outputEditmode() публичный метод

Sends data to the output stream
public outputEditmode ( string $v ) : void
$v string
Результат void

renderIndex() публичный метод

public renderIndex ( $index )
$index

setDataFromEditmode() публичный метод

См. также: Document\Tag\TagInterface::setDataFromEditmode
public setDataFromEditmode ( mixed $data )
$data mixed

setDataFromResource() публичный метод

См. также: Document\Tag\TagInterface::setDataFromResource
public setDataFromResource ( mixed $data )
$data mixed

setOptions() публичный метод

public setOptions ( array $options ) : void
$options array
Результат void

setupStaticEnvironment() публичный метод

Setup some settings that are needed for blocks
public setupStaticEnvironment ( ) : void
Результат void

start() публичный метод

Is executed at the beginning of the loop and setup some general settings
public start ( ) : void
Результат void

Описание свойств

$current публичное свойство

Current step of the block while iteration
public int $current
Результат integer

$currentIndex публичное свойство

public array $currentIndex
Результат array

$indices публичное свойство

Contains an array of indices, which represent the order of the elements in the block
public array $indices
Результат array