Property | Type | Description | |
---|---|---|---|
$database | |||
$entity | string | ||
$table | string |
Method | Description | |
---|---|---|
__call ( string $name, array $args ) : mixed | ||
__construct ( |
||
createEntity ( |
||
delete ( |
||
findAll ( ) : |
||
findBy ( array $criteria ) : |
||
getBy ( array $criteria ) : |
||
getByID ( mixed $id ) : |
||
persist ( |
Method | Description | |
---|---|---|
checkEntity ( |
||
createCollection ( |
||
createEntityFromSelection ( |
||
getEntityClass ( ) : string | ||
getTable ( string $table = NULL ) : |
||
getTableName ( ) : string | ||
handleException ( Exception $e ) : void | ||
transaction ( Closure $callback ) : mixed |
public __construct ( |
||
$database |
final protected checkEntity ( |
||
$entity | ||
return | void |
public createEntity ( |
||
$row | ||
return |
protected createEntityFromSelection ( |
||
$selection | ||
return |
protected handleException ( Exception $e ) : void | ||
$e | Exception | |
return | void |
final protected transaction ( Closure $callback ) : mixed | ||
$callback | Closure | |
return | mixed |
protected Context,Nette\Database $database | ||
return |