Method |
Description |
|
__construct ( array $params = [] ) |
Constructor. |
|
addItem ( Yosymfony\Spress\Core\DataSource\ItemInterface $item ) |
Creates a new item or layout in the data source. |
|
addUse ( ) |
Marks as used the data source. |
|
configure ( ) |
This method is used for setting up a site’s data source for the first time. |
|
getIncludes ( ) : array |
Returns the list of items with type "include". |
|
getItems ( ) : array |
Returns the list of items. |
|
getLayouts ( ) : array |
Returns the list of items with type "layout". |
|
load ( ) |
Loads the data source. |
|
process ( ) |
All data source data manipulations and queries. |
|
removeUse ( ) |
Marks as unused the data source. |
|
setUp ( ) |
Brings up the connections to the data. |
|
tearDown ( ) |
Brings down the connections to the data. |
|