PHP 클래스 Pimcore\Model\Document\Tag\Block

상속: extends Pimcore\Model\Document\Tag
파일 보기 프로젝트 열기: pimcore/pimcore

공개 프로퍼티들

프로퍼티 타입 설명
$current integer Current step of the block while iteration
$indices array Contains an array of indices, which represent the order of the elements in the block
$suffixes string[]

공개 메소드들

메소드 설명
__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

메소드 상세

__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

end() 공개 메소드

Is executed at the end of the loop and removes the settings set in start()
public end ( ) : void
리턴 void

enumerate() 공개 메소드

Alias for loop
또한 보기: loop()
사용 중단:
public enumerate ( ) : boolean
리턴 boolean

frontend() 공개 메소드

또한 보기: Document\Tag\TagInterface::frontend
public frontend ( )

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

getElements() 공개 메소드

public getElements ( ) : Pimcore\Model\Document\Tag\Block\Item[]
리턴 Pimcore\Model\Document\Tag\Block\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

getType() 공개 메소드

또한 보기: Document\Tag\TagInterface::getType
public getType ( ) : string
리턴 string

isEmpty() 공개 메소드

public isEmpty ( ) : boolean
리턴 boolean

loop() 공개 메소드

Loops through the block
public loop ( ) : boolean
리턴 boolean

outputEditmode() 공개 메소드

Sends data to the output stream
public outputEditmode ( string $v ) : void
$v string
리턴 void

setDataFromEditmode() 공개 메소드

또한 보기: Document\Tag\TagInterface::setDataFromEditmode
public setDataFromEditmode ( mixed $data )
$data mixed

setDataFromResource() 공개 메소드

또한 보기: Document\Tag\TagInterface::setDataFromResource
public setDataFromResource ( mixed $data )
$data mixed

setDefault() 공개 메소드

public setDefault ( )

setOptions() 공개 메소드

public setOptions ( array $options )
$options array

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 ( )

프로퍼티 상세

$current 공개적으로 프로퍼티

Current step of the block while iteration
public int $current
리턴 integer

$indices 공개적으로 프로퍼티

Contains an array of indices, which represent the order of the elements in the block
public array $indices
리턴 array

$suffixes 공개적으로 프로퍼티

public string[] $suffixes
리턴 string[]