PHP Class Yosymfony\Spress\Core\ContentManager\Collection\CollectionManagerBuilder

Author: Victor Puertas ([email protected])
显示文件 Open project: spress/spress Class Usage Examples

Public Methods

Method Description
buildFromConfigArray ( array $config ) : Yosymfony\Spress\Core\ContentManager\Collection\CollectionManager Build a collection manager with collections loaded from config array.

Method Details

buildFromConfigArray() public method

A config array has the following sign: .Array ( [collection_name_1] => Array ( [attribute_1] => 'value' ) [collection_name_2] => Array ( ) )
public buildFromConfigArray ( array $config ) : Yosymfony\Spress\Core\ContentManager\Collection\CollectionManager
$config array Configuration array with data about collections
return Yosymfony\Spress\Core\ContentManager\Collection\CollectionManager