public function load()
    {
        $this->initialize();

        foreach ($this->dataSources as $name => $dataSource) {
            $dataSource->load();

            $this->processItems($dataSource->getItems(), $name);
            $this->processLayouts($dataSource->getLayouts(), $name);
            $this->processIncludes($dataSource->getIncludes(), $name);
        }
    }
public function load()
    {
        $this->initialize();

        foreach ($this->dataSources as $name => $dataSource) {
            $dataSource->load();

            $this->processItems($dataSource->getItems(), $name);
            $this->processLayouts($dataSource->getLayouts(), $name);
            $this->processIncludes($dataSource->getIncludes(), $name);
        }
    }
public function load ( ) { $ this -> initialize ( ) ; foreach ( $ this -> dataSources as $ name => $ dataSource ) { $ dataSource -> load ( ) ; $ this -> processItems ( $ dataSource -> getItems ( ) , $ name ) ; $ this -> processLayouts ( $ dataSource -> getLayouts ( ) , $ name ) ; $ this -> processIncludes ( $ dataSource -> getIncludes ( ) , $ name ) ; } }
Load the items from the registered data sources.

@throws RuntimeException If a previous data sources exists with the same id
Load the items from the registered data sources .