Метод |
Описание |
|
__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) |
|
end ( ) : void |
Is executed at the end of the loop and removes the settings set in start() |
|
enumerate ( ) : boolean |
Alias for loop |
|
frontend ( ) |
|
|
getCount ( ) : integer |
Return the amount of block elements |
|
getCurrent ( ) : integer |
Return current iteration step |
|
getCurrentIndex ( ) : integer |
Return current index |
|
getData ( ) : mixed |
|
|
getElements ( ) : Pimcore\Model\Document\Tag\Block\Item[] |
|
|
getFromWebserviceImport ( Pimcore\Model\Webservice\Data\Document\Element $wsElement, $document = null, mixed $params = [], null $idMapper = null ) |
|
|
getType ( ) : string |
|
|
isEmpty ( ) : boolean |
|
|
loop ( ) : boolean |
Loops through the block |
|
outputEditmode ( string $v ) : void |
Sends data to the output stream |
|
setDataFromEditmode ( mixed $data ) |
|
|
setDataFromResource ( mixed $data ) |
|
|
setDefault ( ) |
|
|
setOptions ( array $options ) |
|
|
setupStaticEnvironment ( ) : void |
Setup some settings that are needed for blocks |
|
start ( ) |
Is executed at the beginning of the loop and setup some general settings |
|