App\Model\AlbumRepository::findAll PHP 메소드

findAll() 공개 메소드

public findAll ( ) : Selection
리턴 Nette\Database\Table\Selection
    public function findAll()
    {
        return $this->database->table('albums');
    }

Usage Example

예제 #1
0
 public function renderDefault()
 {
     $this->template->albums = $this->albums->findAll()->order('artist')->order('title');
 }