phpMv -UI toolkit 2.4.12
jQuery, jQuery UI, Twitter Bootstrap and Semantic-UI library for php & php MVC Frameworks
Loading...
Searching...
No Matches
SemanticHtmlCollectionsTrait Class Reference
+ Inheritance diagram for SemanticHtmlCollectionsTrait:

Public Member Functions

 addHtmlComponent (BaseHtml $htmlComponent)
 
 htmlTable ($identifier, $rowCount, $colCount)
 
 htmlMessage ($identifier, $content="", $styles=NULL)
 Adds a new message.
 
 htmlMenu ($identifier, $items=array())
 
 htmlIconMenu ($identifier, $items=array())
 Adds an icon menu.
 
 htmlLabeledIconMenu ($identifier, $items=array())
 Adds an labeled icon menu.
 
 htmlBreadcrumb ($identifier, $items=array(), $autoActive=true, $startIndex=0, $hrefFunction=NULL)
 Returns a new Semantic Html Breadcrumb.
 
 htmlForm ($identifier, $elements=array())
 Returns a new Semantic Form.
 
 htmlGrid ($identifier, $numRows=1, $numCols=NULL, $createCols=true, $implicitRows=false)
 

Detailed Description

Definition at line 15 of file SemanticHtmlCollectionsTrait.php.

Member Function Documentation

◆ addHtmlComponent()

addHtmlComponent ( BaseHtml  $htmlComponent)
abstract

◆ htmlBreadcrumb()

htmlBreadcrumb (   $identifier,
  $items = array(),
  $autoActive = true,
  $startIndex = 0,
  $hrefFunction = NULL 
)

Returns a new Semantic Html Breadcrumb.

Parameters
string$identifier
array$items
boolean$autoActivesets the last element's class to active if true. default : true
callable$hrefFunctionthe function who generates the href elements. default : function($e){return $e->getContent()}
Returns
HtmlBreadcrumb

Definition at line 79 of file SemanticHtmlCollectionsTrait.php.

◆ htmlForm()

htmlForm (   $identifier,
  $elements = array() 
)

Returns a new Semantic Form.

Parameters
string$identifier
array$elements
Returns
HtmlForm

Definition at line 90 of file SemanticHtmlCollectionsTrait.php.

◆ htmlGrid()

htmlGrid (   $identifier,
  $numRows = 1,
  $numCols = NULL,
  $createCols = true,
  $implicitRows = false 
)
Parameters
string$identifier
int$numRows
int$numCols
boolean$createCols
boolean$implicitRows
Returns
HtmlGrid

Definition at line 103 of file SemanticHtmlCollectionsTrait.php.

◆ htmlIconMenu()

htmlIconMenu (   $identifier,
  $items = array() 
)

Adds an icon menu.

Parameters
string$identifier
array$itemsicons

Definition at line 58 of file SemanticHtmlCollectionsTrait.php.

◆ htmlLabeledIconMenu()

htmlLabeledIconMenu (   $identifier,
  $items = array() 
)

Adds an labeled icon menu.

Parameters
string$identifier
array$itemsicons

Definition at line 67 of file SemanticHtmlCollectionsTrait.php.

◆ htmlMenu()

htmlMenu (   $identifier,
  $items = array() 
)
Parameters
string$identifier
array$items
Returns
HtmlMenu

Definition at line 49 of file SemanticHtmlCollectionsTrait.php.

◆ htmlMessage()

htmlMessage (   $identifier,
  $content = "",
  $styles = NULL 
)

Adds a new message.

Parameters
string$identifier
string$content
$stylesstring|array|NULL
Returns
HtmlMessage

Definition at line 36 of file SemanticHtmlCollectionsTrait.php.

◆ htmlTable()

htmlTable (   $identifier,
  $rowCount,
  $colCount 
)
Parameters
string$identifier
int$rowCount
int$colCount
Returns
HtmlTable

Definition at line 25 of file SemanticHtmlCollectionsTrait.php.


The documentation for this class was generated from the following file: