PHP Class App\Model\AlbumRepository

Inheritance: use trait Nette\SmartObject
Afficher le fichier Open project: nette/examples Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( Context $database )
findAll ( ) : Selection
findById ( $id ) : ActiveRow
insert ( $values ) : ActiveRow

Method Details

__construct() public méthode

public __construct ( Context $database )
$database Nette\Database\Context

findAll() public méthode

public findAll ( ) : Selection
Résultat Nette\Database\Table\Selection

findById() public méthode

public findById ( $id ) : ActiveRow
Résultat Nette\Database\Table\ActiveRow

insert() public méthode

public insert ( $values ) : ActiveRow
Résultat Nette\Database\Table\ActiveRow