public function count()
    {
        $_new_dir = new DirectoryModel;
        $_new_dir->setPath( dirname($this->getPath()) );
        $_new_dir->setDirname( basename($this->getPath()) );
        return count($_new_dir->scanDir());
    }
public function count()
    {
        $_new_dir = new DirectoryModel;
        $_new_dir->setPath( dirname($this->getPath()) );
        $_new_dir->setDirname( basename($this->getPath()) );
        return count($_new_dir->scanDir());
    }
public function count ( ) { $ _new_dir = new DirectoryModel ; $ _new_dir -> setPath ( dirname ( $ this -> getPath ( ) ) ) ; $ _new_dir -> setDirname ( basename ( $ this -> getPath ( ) ) ) ; return count ( $ _new_dir -> scanDir ( ) ) ; }
Must return the counting of all model objects
Must return the counting of all model objects