PHP Class Pimcore\Model\Document\Tag\Areablock

Inheritance: extends Pimcore\Model\Document\Tag
Afficher le fichier Open project: pimcore/pimcore

Méthodes publiques

Свойство Type Description
$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

Méthodes publiques

Méthode Description
__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

Méthodes protégées

Méthode Description
getToolBarDefaultConfig ( )

Method Details

__wakeup() public méthode

If object was serialized, set the counter back to 0
public __wakeup ( ) : void
Résultat void

admin() public méthode

See also: Document\Tag\TagInterface::admin
public admin ( )

blockConstruct() public méthode

public blockConstruct ( )

blockDestruct() public méthode

public blockDestruct ( )

blockEnd() public méthode

Is called evertime a new iteration ends (new entry of the block while looping)
public blockEnd ( ) : void
Résultat void

blockStart() public méthode

Is called evertime a new iteration starts (new entry of the block while looping)
public blockStart ( ) : void
Résultat void

content() public méthode

public content ( )

end() public méthode

Is executed at the end of the loop and removes the settings set in start()
public end ( ) : void
Résultat void

frontend() public méthode

See also: Document\Tag\TagInterface::frontend
public frontend ( )

getAreaDirectory() public méthode

public getAreaDirectory ( ) : string
Résultat string

getAreaDirs() public méthode

public getAreaDirs ( ) : array
Résultat array

getBrickConfig() public méthode

public getBrickConfig ( $name )
$name

getBrickConfigs() public méthode

public getBrickConfigs ( ) : array | mixed
Résultat array | mixed

getCount() public méthode

Return the amount of block elements
public getCount ( ) : integer
Résultat integer

getCurrent() public méthode

Return current iteration step
public getCurrent ( ) : integer
Résultat integer

getCurrentIndex() public méthode

Return current index
public getCurrentIndex ( ) : integer
Résultat integer

getData() public méthode

See also: Document\Tag\TagInterface::getData
public getData ( ) : mixed
Résultat mixed

getElement() public méthode

public getElement ( $name ) : Pimcore\Model\Document\Tag\Areablock\Item[]
$name
Résultat Pimcore\Model\Document\Tag\Areablock\Item[]

getFromWebserviceImport() public méthode

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 méthode

public getPathForBrick ( $name ) : string
$name
Résultat string

getToolBarDefaultConfig() protected méthode

protected getToolBarDefaultConfig ( )

getType() public méthode

See also: Document\Tag\TagInterface::getType
public getType ( ) : string
Résultat string

isBrickEnabled() public méthode

public isBrickEnabled ( $name ) : boolean
$name
Résultat boolean

isCustomAreaPath() public méthode

public isCustomAreaPath ( ) : boolean
Résultat boolean

isEmpty() public méthode

public isEmpty ( ) : boolean
Résultat boolean

loop() public méthode

public loop ( )

outputEditmode() public méthode

Sends data to the output stream
public outputEditmode ( string $v ) : void
$v string
Résultat void

renderIndex() public méthode

public renderIndex ( $index )
$index

setDataFromEditmode() public méthode

See also: Document\Tag\TagInterface::setDataFromEditmode
public setDataFromEditmode ( mixed $data )
$data mixed

setDataFromResource() public méthode

See also: Document\Tag\TagInterface::setDataFromResource
public setDataFromResource ( mixed $data )
$data mixed

setOptions() public méthode

public setOptions ( array $options ) : void
$options array
Résultat void

setupStaticEnvironment() public méthode

Setup some settings that are needed for blocks
public setupStaticEnvironment ( ) : void
Résultat void

start() public méthode

Is executed at the beginning of the loop and setup some general settings
public start ( ) : void
Résultat void

Property Details

$current public_oe property

Current step of the block while iteration
public int $current
Résultat integer

$currentIndex public_oe property

public array $currentIndex
Résultat array

$indices public_oe property

Contains an array of indices, which represent the order of the elements in the block
public array $indices
Résultat array