| 1 | <?php |
||
| 4 | class PdoAllCouponSheets implements \Countable, \IteratorAggregate |
||
| 5 | { |
||
| 6 | |||
| 7 | public $coupon_sheets = array(); |
||
| 8 | |||
| 9 | /** |
||
| 10 | * @param \PDO $pdo |
||
| 11 | * @param string $sheets_table |
||
| 12 | * @param string $coupons_table |
||
| 13 | * @param string $php_class |
||
| 14 | */ |
||
| 15 | public function __construct( \PDO $pdo, $sheets_table, $coupons_table, $php_class = null) |
||
| 41 | |||
| 42 | |||
| 43 | public function count() |
||
| 47 | |||
| 48 | |||
| 49 | /** |
||
| 50 | * @return ArrayIterator |
||
| 51 | */ |
||
| 52 | public function getIterator() |
||
| 56 | } |
||
| 57 | |||
| 58 |