phpMv
-UI toolkit 2.4.12
jQuery, jQuery UI, Twitter Bootstrap and Semantic-UI library for php & php MVC Frameworks
Loading...
Searching...
No Matches
HtmlNavElement.php
Go to the documentation of this file.
1
<?php
2
namespace
Ajax\bootstrap\html\base
;
3
4
use
Ajax\common\html\traits\NavElementTrait
;
5
11
abstract
class
HtmlNavElement
extends
HtmlBsDoubleElement
,
NavElementTrait
{
15
protected
$root
;
16
20
protected
$attr
;
21
22
23
public
function
__construct
(
$identifier
,
$tagName
){
24
parent::__construct(
$identifier
,
$tagName
);
25
$this->root=
""
;
26
$this->attr=
"data-ajax"
;
27
}
28
35
public
function
autoGetOnClick
($targetSelector){
36
return
$this->
getOnClick
($this->root, $targetSelector,array(
"attr"
=>$this->attr));
37
}
38
39
public
function
contentAsString
(){
40
return
implode(
""
, $this->content);
41
}
42
}
Ajax\bootstrap\html\base\HtmlBsDoubleElement
Definition
HtmlBsDoubleElement.php:10
Ajax\bootstrap\html\base\HtmlNavElement
Bs class for navigation elements : Breadcrumbs and Pagination.
Definition
HtmlNavElement.php:11
Ajax\bootstrap\html\base\HtmlNavElement\contentAsString
contentAsString()
Definition
HtmlNavElement.php:39
Ajax\bootstrap\html\base\HtmlNavElement\$attr
$attr
Definition
HtmlNavElement.php:20
Ajax\bootstrap\html\base\HtmlNavElement\__construct
__construct($identifier, $tagName)
Definition
HtmlNavElement.php:23
Ajax\bootstrap\html\base\HtmlNavElement\autoGetOnClick
autoGetOnClick($targetSelector)
Associate an ajax get to the elements, displayed in $targetSelector $this->attr member is used to bui...
Definition
HtmlNavElement.php:35
Ajax\bootstrap\html\base\HtmlNavElement\$root
$root
Definition
HtmlNavElement.php:15
Ajax\common\html\BaseHtml\$tagName
$tagName
Definition
BaseHtml.php:21
Ajax\common\html\BaseWidget\$identifier
$identifier
Definition
BaseWidget.php:14
Ajax\common\html\traits\BaseHtmlEventsTrait\getOnClick
getOnClick($url, $responseElement="", $parameters=array())
Performs a get to $url on the click event on $element and display it in $responseElement.
Definition
BaseHtmlEventsTrait.php:164
Ajax\common\html\traits\NavElementTrait
Definition
NavElementTrait.php:12
Ajax\bootstrap\html\base
Definition
CssButton.php:2
Ajax
bootstrap
html
base
HtmlNavElement.php
Generated on Sun Dec 10 2023 16:15:51 for
phpMv-UI
by
doxygen
1.9.8