PHP Класс Yosymfony\Spress\Core\DataSource\Memory\MemoryDataSource

Автор: Victor Puertas ([email protected])
Наследование: extends Yosymfony\Spress\Core\DataSource\AbstractDataSource
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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