| 1 | <?php |
||
| 16 | class ContactUsMapper extends AbstractTableGateway implements AdapterAwareInterface |
||
| 17 | { |
||
| 18 | /** |
||
| 19 | * Table name. |
||
| 20 | * |
||
| 21 | * @var string $table |
||
| 22 | */ |
||
| 23 | protected $table = 'contact_us'; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * ContactUsMapper constructor. |
||
| 27 | * |
||
| 28 | * @param Adapter $adapter |
||
| 29 | * @param HydratingResultSet $resultSet |
||
| 30 | */ |
||
| 31 | public function __construct(Adapter $adapter, HydratingResultSet $resultSet) |
||
| 37 | |||
| 38 | /** |
||
| 39 | * @param Adapter $adapter |
||
| 40 | * |
||
| 41 | * @return void |
||
| 42 | * |
||
| 43 | * @throws \Exception |
||
| 44 | */ |
||
| 45 | public function setDbAdapter(Adapter $adapter) |
||
| 50 | |||
| 51 | /** |
||
| 52 | * @return \Zend\Db\Sql\Select |
||
| 53 | */ |
||
| 54 | public function getPaginationSelect() |
||
| 60 | } |