phpMv  -UI toolkit 2.4.12
jQuery, jQuery UI, Twitter Bootstrap and Semantic-UI library for php & php MVC Frameworks
BootstrapComponentsTrait.php
Go to the documentation of this file.
1 <?php
2 
4 
14 use Ajax\Bootstrap;
16 
22 
29  abstract public function addComponent(SimpleComponent $component, $attachTo, $params);
36  public function generic($attachTo=NULL, $params=NULL) {
37  return $this->addComponent(new GenericComponent($this->js), $attachTo, $params);
38  }
39 
46  public function modal($attachTo=NULL, $params=NULL) {
47  return $this->addComponent(new Modal($this->js), $attachTo, $params);
48  }
49 
56  public function tooltip($attachTo=NULL, $params=NULL) {
57  return $this->addComponent(new Tooltip($this->js), $attachTo, $params);
58  }
59 
66  public function popover($attachTo=NULL, $params=NULL) {
67  return $this->addComponent(new Popover($this->js), $attachTo, $params);
68  }
69 
76  public function dropdown($attachTo=NULL, $params=NULL) {
77  return $this->addComponent(new Dropdown($this->js), $attachTo, $params);
78  }
79 
86  public function splitbutton($attachTo=NULL, $params=NULL) {
87  return $this->addComponent(new Splitbutton($this->js), $attachTo, $params);
88  }
89 
96  public function tab($attachTo=NULL, $params=NULL) {
97  return $this->addComponent(new Tab($this->js), $attachTo, $params);
98  }
99 
106  public function collapse($attachTo=NULL, $params=NULL) {
107  return $this->addComponent(new Collapse($this->js), $attachTo, $params);
108  }
109 
116  public function carousel($attachTo=NULL, $params=NULL) {
117  return $this->addComponent(new Carousel($this->js), $attachTo, $params);
118  }
119 }
Composant Twitter Bootstrap Modal.
Definition: Modal.php:14
Composant Twitter Bootstrap Tab.
Definition: Tab.php:13
Base component for JQuery UI visuals components.
tab($attachTo=NULL, $params=NULL)
splitbutton($attachTo=NULL, $params=NULL)
popover($attachTo=NULL, $params=NULL)
modal($attachTo=NULL, $params=NULL)
Composant Twitter Bootstrap Collapse.
Definition: Collapse.php:14
collapse($attachTo=NULL, $params=NULL)
Composant Twitter Bootstrap Dropdown.
Definition: Dropdown.php:13
carousel($attachTo=NULL, $params=NULL)
dropdown($attachTo=NULL, $params=NULL)
Composant Twitter Bootstrap Popover.
Definition: Popover.php:13
Composant Twitter Bootstrap Tooltip.
Definition: Tooltip.php:14
tooltip($attachTo=NULL, $params=NULL)