22 $this->content=array ();
27 $panel=
new HtmlPanel(
"panel-".$this->identifier.
"-".$nb);
28 $link=
new HtmlLink(
"lnk-panel-".$this->identifier.
"-".$nb);
29 $link->setProperty(
"data-toggle",
"collapse");
30 $link->setProperty(
"data-parent",
"#".$this->identifier);
31 $link->setHref(
"#collapse-panel-".$this->identifier.
"-".$nb);
32 $link->setContent($title);
33 $panel->addHeader($link);
35 $panel->setCollapsable(
true);
36 $this->content []=$panel;
61 public function forwardPanel(
JsUtils $js,$title,$initialController,$controller,$action,$params=array()){
62 return $this->
addPanel($title, $js->
forward($initialController, $controller, $action,$params));
66 foreach ( $this->content as
$content ) {
72 if ($index<
sizeof($this->content))
73 return $this->content [$index];
forward($initialController, $controller, $action, $params)
Forwards to.
renderContent($initialControllerInstance, $viewName, $params=NULL)
render the content of an existing view : $viewName and set the response to the modal content Used int...
Composant Twitter Bootstrap Accordion.
run(JsUtils $js)
SimpleExtComponent\Ajax\common\html\BaseHtmlrun()\Ajax\common\html\BaseHtmlrun()
forwardPanel(JsUtils $js, $title, $initialController, $controller, $action, $params=array())
render the content of
__construct($identifier, $tagName="div")
addPanel($title, $content)
renderViewPanel(JsUtils $js, $title, $initialController, $viewName, $params=array())
render the content of an existing view : $controller/$action and set the response to a new panel
Composant Twitter Bootstrap panel.
setProperty($name, $value)