Свойство | Тип | Описание | |
---|---|---|---|
$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 ( ) |
public blockStart ( ) : void | ||
Результат | void |
public getBrickConfigs ( ) : array | mixed | ||
Результат | array | mixed |
public getCurrent ( ) : integer | ||
Результат | integer |
public getCurrentIndex ( ) : integer | ||
Результат | integer |
public getElement ( $name ) : Pimcore\Model\Document\Tag\Areablock\Item[] | ||
$name | ||
Результат | Pimcore\Model\Document\Tag\Areablock\Item[] |
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 |
public outputEditmode ( string $v ) : void | ||
$v | string | |
Результат | void |
public setOptions ( array $options ) : void | ||
$options | array | |
Результат | void |
public setupStaticEnvironment ( ) : void | ||
Результат | void |
public int $current | ||
Результат | integer |
public array $indices | ||
Результат | array |