PHP 클래스 Yosymfony\Spress\Core\DataSource\Memory\MemoryDataSource

저자: Victor Puertas ([email protected])
상속: extends Yosymfony\Spress\Core\DataSource\AbstractDataSource
파일 보기 프로젝트 열기: spress/spress 1 사용 예제들

공개 메소드들

메소드 설명
addInclude ( Yosymfony\Spress\Core\DataSource\ItemInterface $item ) Adds a new include item.
addItem ( Yosymfony\Spress\Core\DataSource\ItemInterface $item ) Adds a new item.
addLayout ( Yosymfony\Spress\Core\DataSource\ItemInterface $item ) Adds a new layout item.
clearInclude ( ) Clears all includes registered.
clearItem ( ) Clears all items registered.
clearLayout ( ) Clears all layouts registered.
countInclude ( ) : integer Counts the include items registered.
countItem ( ) : integer Counts the items registered.
countLayout ( ) : integer Counts the layout items registered.
getIncludes ( )
getItems ( )
getLayouts ( )
hasInclude ( string $id ) : boolean Checks if an include item exists.
hasItem ( string $id ) : boolean Checks if an item exists.
hasLayout ( string $id ) : boolean Checks if a layout item exists.
removeInclude ( string $id ) Removes a include item.
removeItem ( string $id ) Removes an item.
removeLayout ( string $id ) Removes a layout item.
setInclude ( Yosymfony\Spress\Core\DataSource\ItemInterface $item ) Sets an include item.
setItem ( Yosymfony\Spress\Core\DataSource\ItemInterface $item ) Sets an item.
setLayout ( Yosymfony\Spress\Core\DataSource\ItemInterface $item ) Sets a layout item.

메소드 상세

addInclude() 공개 메소드

Adds a new include item.
public addInclude ( Yosymfony\Spress\Core\DataSource\ItemInterface $item )
$item Yosymfony\Spress\Core\DataSource\ItemInterface

addItem() 공개 메소드

Adds a new item.
public addItem ( Yosymfony\Spress\Core\DataSource\ItemInterface $item )
$item Yosymfony\Spress\Core\DataSource\ItemInterface

addLayout() 공개 메소드

Adds a new layout item.
public addLayout ( Yosymfony\Spress\Core\DataSource\ItemInterface $item )
$item Yosymfony\Spress\Core\DataSource\ItemInterface

clearInclude() 공개 메소드

Clears all includes registered.
public clearInclude ( )

clearItem() 공개 메소드

Clears all items registered.
public clearItem ( )

clearLayout() 공개 메소드

Clears all layouts registered.
public clearLayout ( )

countInclude() 공개 메소드

Counts the include items registered.
public countInclude ( ) : integer
리턴 integer

countItem() 공개 메소드

Counts the items registered.
public countItem ( ) : integer
리턴 integer

countLayout() 공개 메소드

Counts the layout items registered.
public countLayout ( ) : integer
리턴 integer

getIncludes() 공개 메소드

public getIncludes ( )

getItems() 공개 메소드

public getItems ( )

getLayouts() 공개 메소드

public getLayouts ( )

hasInclude() 공개 메소드

Checks if an include item exists.
public hasInclude ( string $id ) : boolean
$id string The item's identifier
리턴 boolean

hasItem() 공개 메소드

Checks if an item exists.
public hasItem ( string $id ) : boolean
$id string The item's identifier
리턴 boolean

hasLayout() 공개 메소드

Checks if a layout item exists.
public hasLayout ( string $id ) : boolean
$id string The item's identifier
리턴 boolean

removeInclude() 공개 메소드

Removes a include item.
public removeInclude ( string $id )
$id string The item's identifier

removeItem() 공개 메소드

Removes an item.
public removeItem ( string $id )
$id string The item's identifier

removeLayout() 공개 메소드

Removes a layout item.
public removeLayout ( string $id )
$id string The item's identifier

setInclude() 공개 메소드

Sets an include item.
public setInclude ( Yosymfony\Spress\Core\DataSource\ItemInterface $item )
$item Yosymfony\Spress\Core\DataSource\ItemInterface

setItem() 공개 메소드

Sets an item.
public setItem ( Yosymfony\Spress\Core\DataSource\ItemInterface $item )
$item Yosymfony\Spress\Core\DataSource\ItemInterface

setLayout() 공개 메소드

Sets a layout item.
public setLayout ( Yosymfony\Spress\Core\DataSource\ItemInterface $item )
$item Yosymfony\Spress\Core\DataSource\ItemInterface