37 $this->
attr =
"data-ajax";
48 return $this->
getOnClick($this->root, $targetSelector, array(
58 $divider =
"<div class='divider'> {$divider} </div>";
63 $contentDivider =
"<i class='" . $iconContentDivider .
" icon divider'></i>";
64 return $this->
setDivider($contentDivider, $index);
69 if (! \is_array($this->_contentSeparator))
70 $this->_contentSeparator = array_fill(0, $this->
count() - 1, $this->_contentSeparator);
71 $this->_contentSeparator[$index] = $divider;
73 $this->_contentSeparator = $divider;
79 if (\is_array($this->_contentSeparator)) {
80 return @$this->_contentSeparator[$index];
setDivider($divider, $index)
Sem class for navigation elements : Breadcrumbs and Pagination.
static implode($glue, $pieces)
__construct($identifier, $tagName, $baseClass)
autoGetOnClick($targetSelector)
Associate an ajax get to the elements, displayed in $targetSelector.
setContentDivider($divider, $index=NULL)
getContentDivider($index)
Base class for Semantic Html collections.
getOnClick($url, $responseElement="", $parameters=array())
Performs a get to $url on the click event on $element and display it in $responseElement.
setIconContentDivider($iconContentDivider, $index=NULL)
attr($element='this', $attributeName='id', $value="", $immediatly=false)
Get or set the value of an attribute for the first element in the set of matched elements or set one ...