File tree Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Expand file tree Collapse file tree 2 files changed +8
-8
lines changed Original file line number Diff line number Diff line change 11
11
use Ajax \semantic \html \base \constants \Direction ;
12
12
use Ajax \JsUtils ;
13
13
use Ajax \semantic \html \base \constants \Side ;
14
+ use Ajax \common \html \html5 \HtmlList ;
14
15
15
16
/**
16
17
* Base class for Semantic double elements
@@ -166,6 +167,13 @@ public function run(JsUtils $js) {
166
167
return $ this ->_bsComponent ;
167
168
}
168
169
170
+ public function addList ($ elements ,$ ordered =false ){
171
+ $ list =new HtmlList ("list- " .$ this ->identifier ,$ elements );
172
+ $ list ->setOrdered ($ ordered );
173
+ $ list ->setClass ("ui list " );
174
+ $ this ->addContent ($ list );
175
+ }
176
+
169
177
/*
170
178
* public function __call($name, $arguments){
171
179
* $type=\substr($name, 0,3);
Original file line number Diff line number Diff line change 3
3
namespace Ajax \semantic \html \collections ;
4
4
5
5
use Ajax \semantic \html \base \HtmlSemDoubleElement ;
6
- use Ajax \common \html \html5 \HtmlList ;
7
6
use Ajax \semantic \html \elements \HtmlIcon ;
8
7
use Ajax \JsUtils ;
9
8
use Ajax \semantic \html \base \constants \Style ;
@@ -47,13 +46,6 @@ public function setHeader($header){
47
46
return $ this ->addHeader ($ header );
48
47
}
49
48
50
- public function addList ($ elements ,$ ordered =false ){
51
- $ list =new HtmlList ("list- " .$ this ->identifier ,$ elements );
52
- $ list ->setOrdered ($ ordered );
53
- $ list ->setClass ("ui list " );
54
- $ this ->addContent ($ list );
55
- }
56
-
57
49
public function setIcon ($ icon ){
58
50
$ this ->addToProperty ("class " , "icon " );
59
51
$ this ->wrapContent ("<div class='content'> " ,"</div> " );
You can’t perform that action at this time.
0 commit comments