1 | <?php |
||
23 | class Semantic extends BaseGui { |
||
24 | use SemanticComponentsTrait,SemanticHtmlElementsTrait; |
||
25 | public function __construct($autoCompile=true) { |
||
28 | |||
29 | |||
30 | /** |
||
31 | * @param string $identifier |
||
32 | * @param array $items |
||
33 | * @return Ajax\semantic\html\collections\HtmlMenu |
||
34 | */ |
||
35 | public function htmlMenu($identifier,$items=array()){ |
||
38 | |||
39 | /**Adds an icon menu |
||
40 | * @param string $identifier |
||
41 | * @param array $items icons |
||
42 | */ |
||
43 | public function htmlIconMenu($identifier,$items=array()){ |
||
46 | |||
47 | /**Adds an labeled icon menu |
||
48 | * @param string $identifier |
||
49 | * @param array $items icons |
||
50 | */ |
||
51 | public function htmlLabeledIconMenu($identifier,$items=array()){ |
||
54 | |||
55 | /** |
||
56 | * @param string $identifier |
||
57 | * @param string $value |
||
58 | * @param array $items |
||
59 | */ |
||
60 | public function htmlDropdown($identifier, $value="", $items=array()){ |
||
63 | |||
64 | /** |
||
65 | * Adds a new message |
||
66 | * @param string $identifier |
||
67 | * @param string $content |
||
68 | */ |
||
69 | public function htmlMessage($identifier, $content=""){ |
||
72 | |||
73 | /** |
||
74 | * @param string $identifier |
||
75 | * @param mixed $content |
||
76 | */ |
||
77 | public function htmlPopup(BaseHtml $container,$identifier,$content){ |
||
80 | |||
81 | /** |
||
82 | * @param string $identifier |
||
83 | * @param int $numRows |
||
84 | * @param int $numCols |
||
85 | * @param boolean $createCols |
||
86 | * @param boolean $implicitRows |
||
87 | */ |
||
88 | public function htmlGrid($identifier,$numRows=1,$numCols=NULL,$createCols=true,$implicitRows=false){ |
||
91 | |||
92 | |||
93 | |||
94 | /** |
||
95 | * Return a new Semantic Html Breadcrumb |
||
96 | * @param string $identifier |
||
97 | * @param array $elements |
||
|
|||
98 | * @param boolean $autoActive sets the last element's class to <b>active</b> if true. default : true |
||
99 | * @param function $hrefFunction the function who generates the href elements. default : function($e){return $e->getContent()} |
||
100 | * @return HtmlBreadcrumb |
||
101 | */ |
||
102 | public function htmlBreadcrumb( $identifier,$items=array(),$autoActive=true,$startIndex=0,$hrefFunction=NULL){ |
||
105 | |||
106 | /** |
||
107 | * Return a new Semantic Accordion |
||
108 | * @param string $identifier |
||
109 | * @return HtmlAccordion |
||
110 | */ |
||
111 | public function htmlAccordion($identifier) { |
||
114 | |||
115 | /** |
||
116 | * Return a new Semantic Menu Accordion |
||
117 | * @param string $identifier |
||
118 | * @return HtmlAccordion |
||
119 | */ |
||
120 | public function htmlAccordionMenu($identifier,$items=array()) { |
||
123 | |||
124 | /** |
||
125 | * Return a new Semantic Form |
||
126 | * @param string $identifier |
||
127 | * @param array $elements |
||
128 | */ |
||
129 | public function htmlForm($identifier,$elements=array()) { |
||
132 | |||
133 | public function htmlSticky($identifier,$content=array()) { |
||
136 | } |
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.