src/Charcoal/Admin/Action/Object/LoadAction.php
protected function loadObjectCollection($objType)
    {
        $proto  = $this->modelFactory()->get($objType);
        $loader = $this->collectionLoader();
        $loader->setModel($proto);
        $loader->addFilter('active', true);

        $this->objCollection = $loader->load();

        return $this->objCollection;
    }
protected function loadObjectCollection($objType)
    {
        $proto  = $this->modelFactory()->get($objType);
        $loader = $this->collectionLoader();
        $loader->setModel($proto);
        $loader->addFilter('active', true);

        $this->objCollection = $loader->load();

        return $this->objCollection;
    }
protected function loadObjectCollection ( $ objType ) { $ proto = $ this -> modelFactory ( ) -> get ( $ objType ) ; $ loader = $ this -> collectionLoader ( ) ; $ loader -> setModel ( $ proto ) ; $ loader -> addFilter ( 'active' , true ) ; $ this -> objCollection = $ loader -> load ( ) ; return $ this -> objCollection ; }
Load Object Collection

@param string $objType The object type as string.
@return \Charcoal\Model\Collection
Load Object Collection