Public Member Functions | |
| __construct (DBConnectionCommon $dbConnection, \PDOStatement $statement, $className, $parametes) | |
| uniqueResult ($fetchStyle=self::FETCH_OBJ) | |
| listResult ($fetchStyle=self::FETCH_OBJ) | |
| setMaxResults ($maxResults) | |
| setFirstResult ($firstResult) | |
Public Attributes | |
| const | FETCH_OBJ = 1 |
| const | FETCH_ASSOC = 2 |
Protected Attributes | |
| $statement | |
| $dbConnection | |
| $className | |
| $parametes | |
| $maxResults = PHP_INT_MAX | |
| $firstResult = 0 | |
vysledek dotazu, ktery dao vrati na dotaz
| __construct | ( | DBConnectionCommon | $dbConnection, |
| \PDOStatement | $statement, | ||
| $className, | |||
| $parametes | |||
| ) |
| listResult | ( | $fetchStyle = self::FETCH_OBJ | ) |
vsechny vysledky v seznamu
| setFirstResult | ( | $firstResult | ) |
| setMaxResults | ( | $maxResults | ) |
| uniqueResult | ( | $fetchStyle = self::FETCH_OBJ | ) |
unikatni vysledek dotazu
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
| const FETCH_ASSOC = 2 |
query result is rerurned as associative array, where keys are same as set in select part of sql query
| const FETCH_OBJ = 1 |
query result is rerurned as object