| 1 | <?php |
||
| 19 | class Propel2Adapter implements AdapterInterface |
||
| 20 | { |
||
| 21 | private $query; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * Constructor. |
||
| 25 | * |
||
| 26 | * @param \ModelCriteria $query |
||
| 27 | */ |
||
| 28 | public function __construct($query) |
||
| 32 | |||
| 33 | /** |
||
| 34 | * Returns the query. |
||
| 35 | * |
||
| 36 | * @return \ModelCriteria |
||
| 37 | */ |
||
| 38 | public function getQuery() |
||
| 42 | |||
| 43 | /** |
||
| 44 | * {@inheritdoc} |
||
| 45 | */ |
||
| 46 | public function getNbResults() |
||
| 54 | |||
| 55 | /** |
||
| 56 | * {@inheritdoc} |
||
| 57 | */ |
||
| 58 | public function getSlice($offset, $length) |
||
| 67 | } |
||
| 68 |