1 | <?php |
||
9 | class AdminArticle { |
||
10 | private $error_title; |
||
11 | private $error_article; |
||
12 | |||
13 | //-------------------------- BUILDER ----------------------------------------------------------------------------// |
||
14 | public function __construct() { |
||
17 | //-------------------------- END BUILDER ----------------------------------------------------------------------------// |
||
18 | |||
19 | |||
20 | //-------------------------- GETTER ----------------------------------------------------------------------------// |
||
21 | /** |
||
22 | * @param $title |
||
23 | * @return bool |
||
24 | * function that verify if title of the article is ok |
||
25 | */ |
||
26 | private function getTestTitle($title) { |
||
39 | |||
40 | /** |
||
41 | * @param $article |
||
42 | * @return bool |
||
43 | * function that verify if article is ok |
||
44 | */ |
||
45 | private function getTestArticle($article) { |
||
53 | //-------------------------- END GETTER ----------------------------------------------------------------------------// |
||
54 | |||
55 | |||
56 | //-------------------------- SETTER ----------------------------------------------------------------------------// |
||
57 | public function setAddArticle($title, $categories, $article, $state) { |
||
73 | //-------------------------- END SETTER ----------------------------------------------------------------------------// |
||
74 | } |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.