1 | <?php |
||
20 | class categories_loader extends Loader |
||
21 | { |
||
22 | /** @var \phpbb\db\driver\driver_interface */ |
||
23 | protected $db; |
||
24 | |||
25 | /** @var string */ |
||
26 | protected $categories_table; |
||
27 | |||
28 | /** |
||
29 | * Constructor |
||
30 | * |
||
31 | * @param \phpbb\db\driver\driver_interface $db Database connection |
||
32 | * @param string $categories_table Table name |
||
33 | * @access public |
||
34 | */ |
||
35 | public function __construct(\phpbb\db\driver\driver_interface $db, $categories_table) |
||
40 | |||
41 | /** |
||
42 | * {@inheritdoc} |
||
43 | * |
||
44 | * @api |
||
45 | */ |
||
46 | public function load($resource, $type = null) |
||
79 | |||
80 | /** |
||
81 | * {@inheritdoc} |
||
82 | * |
||
83 | * @api |
||
84 | */ |
||
85 | public function supports($resource, $type = null) |
||
89 | } |
||
90 |