1 | <?php |
||
11 | abstract class HtmlSemNavElement extends HtmlSemCollection { |
||
12 | use NavElementTrait; |
||
13 | /** |
||
14 | * @var string the root site |
||
15 | */ |
||
16 | protected $root; |
||
17 | |||
18 | /** |
||
19 | * @var String the html attribute which contains the elements url. default : data-ajax |
||
20 | */ |
||
21 | protected $attr; |
||
22 | |||
23 | /** |
||
24 | * @var string|array |
||
25 | */ |
||
26 | protected $_contentSeparator=""; |
||
27 | |||
28 | |||
29 | public function __construct($identifier,$tagName,$baseClass){ |
||
34 | |||
35 | /** |
||
36 | * Associate an ajax get to the elements, displayed in $targetSelector |
||
37 | * @param string $targetSelector the target of the get |
||
38 | * @return HtmlNavElement |
||
39 | */ |
||
40 | public function autoGetOnClick($targetSelector){ |
||
43 | |||
44 | public function contentAsString(){ |
||
47 | |||
48 | public function setContentDivider($divider,$index=NULL) { |
||
52 | |||
53 | public function setIconContentDivider($iconContentDivider,$index=NULL) { |
||
57 | |||
58 | protected function setDivider($divider,$index){ |
||
68 | |||
69 | protected function getContentDivider($index){ |
||
75 | |||
76 | |||
77 | } |