phpMv -UI toolkit 2.4.12
jQuery, jQuery UI, Twitter Bootstrap and Semantic-UI library for php & php MVC Frameworks
Loading...
Searching...
No Matches
SemanticWidgetsTrait.php
Go to the documentation of this file.
1<?php
3
11
13
14 abstract public function addHtmlComponent(BaseHtml $htmlComponent);
15
22 public function dataTable($identifier,$model, $instances=null){
23 return $this->addHtmlComponent(new DataTable($identifier,$model,$instances));
24 }
25
32 public function jsonDataTable($identifier,$model, $instances=null){
33 return $this->addHtmlComponent(new JsonDataTable($identifier,$model,$instances));
34 }
35
41 public function dataElement($identifier, $instance=null){
42 return $this->addHtmlComponent(new DataElement($identifier,$instance));
43 }
44
50 public function dataForm($identifier, $instance){
51 return $this->addHtmlComponent(new DataForm($identifier,$instance));
52 }
53
59 public function defaultLogin($identifier,$instance=null){
60 return $this->addHtmlComponent(FormLogin::regular($identifier,$instance));
61 }
62
68 public function smallLogin($identifier,$instance=null){
69 return $this->addHtmlComponent(FormLogin::small($identifier,$instance));
70 }
71
77 public function segmentedLogin($identifier,$instance=null){
78 return $this->addHtmlComponent(FormLogin::attachedSegment($identifier,$instance));
79 }
80
86 public function defaultAccount($identifier,$instance=null){
87 return $this->addHtmlComponent(FormAccount::regular($identifier,$instance));
88 }
89}
BaseHtml for HTML components.
Definition BaseHtml.php:17
jsonDataTable($identifier, $model, $instances=null)
addHtmlComponent(BaseHtml $htmlComponent)
dataTable($identifier, $model, $instances=null)
static regular($identifier, $modelInstance=null)
static small($identifier, $modelInstance=null)
Definition FormLogin.php:41
static attachedSegment($identifier, $modelInstance=null)
Definition FormLogin.php:52
static regular($identifier, $modelInstance=null)
Definition FormLogin.php:21
DataElement widget for displaying an instance of model.
DataTable widget for displaying list of objects.
Definition DataTable.php:27