protected function load()
    {
        if ($this->resources !== null) {
            return $this->count() > 0;
        }

        $this->resources = null;
        $this->index = 0;
        $this->loadResources();

        return $this->count() > 0;
    }
protected function load()
    {
        if ($this->resources !== null) {
            return $this->count() > 0;
        }

        $this->resources = null;
        $this->index = 0;
        $this->loadResources();

        return $this->count() > 0;
    }
protected function load ( ) { if ( $ this -> resources !== null ) { return $ this -> count ( ) > 0 ; } $ this -> resources = null ; $ this -> index = 0 ; $ this -> loadResources ( ) ; return $ this -> count ( ) > 0 ; }
Load a collection of resources

@return bool
Load a collection of resources