1 | <?php |
||
16 | class ArticleMapper extends AbstractTableGateway implements AdapterAwareInterface |
||
17 | { |
||
18 | /** |
||
19 | * @var string |
||
20 | */ |
||
21 | protected $table = 'articles'; |
||
22 | |||
23 | /** |
||
24 | * Db adapter setter method,. |
||
25 | * |
||
26 | * @param Adapter $adapter db adapter |
||
27 | * |
||
28 | * @return void |
||
29 | */ |
||
30 | public function setDbAdapter(Adapter $adapter) |
||
34 | |||
35 | public function fetchAll($params) |
||
39 | |||
40 | public function create($articleData) |
||
44 | |||
45 | public function getCategories($articleId) |
||
54 | |||
55 | /** |
||
56 | * Delete all categories for given article. |
||
57 | */ |
||
58 | public function deleteCategories($id) |
||
62 | |||
63 | /** |
||
64 | * @todo Refactore it - do a multi insert into MySQL |
||
65 | */ |
||
66 | public function insertCategories($categories, $articleId) |
||
70 | } |
||
71 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.