1 | <?php |
||
22 | class Semantic extends BaseGui { |
||
23 | use SemanticComponentsTrait,SemanticHtmlElementsTrait; |
||
24 | public function __construct($autoCompile=true) { |
||
27 | |||
28 | |||
29 | /** |
||
30 | * @param string $identifier |
||
31 | * @param array $items |
||
32 | * @return Ajax\semantic\html\collections\HtmlMenu |
||
33 | */ |
||
34 | public function htmlMenu($identifier,$items=array()){ |
||
37 | |||
38 | /**Adds an icon menu |
||
39 | * @param string $identifier |
||
40 | * @param array $items icons |
||
41 | */ |
||
42 | public function htmlIconMenu($identifier,$items=array()){ |
||
45 | |||
46 | /**Adds an labeled icon menu |
||
47 | * @param string $identifier |
||
48 | * @param array $items icons |
||
49 | */ |
||
50 | public function htmlLabeledIconMenu($identifier,$items=array()){ |
||
53 | |||
54 | /** |
||
55 | * @param string $identifier |
||
56 | * @param string $value |
||
57 | * @param array $items |
||
58 | */ |
||
59 | public function htmlDropdown($identifier, $value="", $items=array()){ |
||
62 | |||
63 | /** |
||
64 | * Adds a new message |
||
65 | * @param string $identifier |
||
66 | * @param string $content |
||
67 | */ |
||
68 | public function htmlMessage($identifier, $content=""){ |
||
71 | |||
72 | /** |
||
73 | * @param string $identifier |
||
74 | * @param mixed $content |
||
75 | */ |
||
76 | public function htmlPopup(BaseHtml $container,$identifier,$content){ |
||
79 | |||
80 | /** |
||
81 | * @param string $identifier |
||
82 | * @param int $numRows |
||
83 | * @param int $numCols |
||
84 | * @param boolean $createCols |
||
85 | * @param boolean $implicitRows |
||
86 | */ |
||
87 | public function htmlGrid($identifier,$numRows=1,$numCols=NULL,$createCols=true,$implicitRows=false){ |
||
90 | |||
91 | |||
92 | |||
93 | /** |
||
94 | * Return a new Semantic Html Breadcrumb |
||
95 | * @param string $identifier |
||
96 | * @param array $elements |
||
|
|||
97 | * @param boolean $autoActive sets the last element's class to <b>active</b> if true. default : true |
||
98 | * @param function $hrefFunction the function who generates the href elements. default : function($e){return $e->getContent()} |
||
99 | * @return HtmlBreadcrumb |
||
100 | */ |
||
101 | public function htmlBreadcrumb( $identifier,$items=array(),$autoActive=true,$startIndex=0,$hrefFunction=NULL){ |
||
104 | |||
105 | /** |
||
106 | * Return a new Semantic Accordion |
||
107 | * @param string $identifier |
||
108 | * @return HtmlAccordion |
||
109 | */ |
||
110 | public function htmlAccordion($identifier) { |
||
113 | |||
114 | /** |
||
115 | * Return a new Semantic Menu Accordion |
||
116 | * @param string $identifier |
||
117 | * @return HtmlAccordion |
||
118 | */ |
||
119 | public function htmlAccordionMenu($identifier,$items=array()) { |
||
122 | |||
123 | /** |
||
124 | * Return a new Semantic Form |
||
125 | * @param string $identifier |
||
126 | * @param array $elements |
||
127 | */ |
||
128 | public function htmlForm($identifier,$elements=array()) { |
||
131 | } |
This check looks for PHPDoc comments describing methods or function parameters that do not exist on the corresponding method or function.
Consider the following example. The parameter
$italy
is not defined by the methodfinale(...)
.The most likely cause is that the parameter was removed, but the annotation was not.