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

Public Member Functions

 addHtmlComponent (BaseHtml $htmlComponent)
 
 addState ($state, $elements)
 
 htmlButton ($identifier, $value=null, $cssStyle=null, $onClick=null)
 Return a new Semantic Html Button.
 
 htmlButtonGroups ($identifier, $elements=array(), $asIcons=false)
 Returns a group of Semantic buttons.
 
 htmlContainer ($identifier, $content="")
 Returns a new Semantic container.
 
 htmlDivider ($identifier, $content="", $tagName="div")
 Returns a new Semantic divider.
 
 htmlHeader ($identifier, $niveau=1, $content=NULL, $type="page")
 Returns a new Semantic header.
 
 htmlIcon ($identifier, $icon)
 Returns a new Semantic icon.
 
 htmlImage ($identifier, $src="", $alt="", $size=NULL)
 Returns a new Semantic image.
 
 htmlIconGroups ($identifier, $icons=array(), $size="")
 Returns a new Semantic group of images.
 
 htmlInput ($identifier, $type="text", $value="", $placeholder="")
 Returns a new Semantic html input.
 
 htmlLabel ($identifier, $content="", $icon=NULL, $tagName="div")
 Returns a new Semantic label.
 
 htmlLabelGroups ($identifier, $labels=array(), $attributes=array())
 
 htmlList ($identifier, $items=array())
 Returns a new Semantic list.
 
 htmlSegment ($identifier, $content="")
 Adds a new segment, used to create a grouping of related content.
 
 htmlSegmentGroups ($identifier, $items=array())
 Adds a group of segments.
 
 htmlReveal ($identifier, $visibleContent, $hiddenContent, $type=RevealType::FADE, $attributeType=NULL)
 Returns a new Semantic Reveal.
 
 htmlStep ($identifier, $steps=array())
 Returns a new Semantic Step.
 
 htmlFlag ($identifier, $flag)
 Returns a new Semantic Flag.
 
 htmlEmoji ($identifier, $emoji)
 Returns a new Semantic Emoji.
 
 htmlRail ($identifier, $content=null)
 Returns a new Semantic Rail.
 

Detailed Description

Definition at line 29 of file SemanticHtmlElementsTrait.php.

Member Function Documentation

◆ addHtmlComponent()

addHtmlComponent ( BaseHtml  $htmlComponent)
abstract

◆ addState()

addState (   $state,
  $elements 
)

Definition at line 33 of file SemanticHtmlElementsTrait.php.

◆ htmlButton()

htmlButton (   $identifier,
  $value = null,
  $cssStyle = null,
  $onClick = null 
)

Return a new Semantic Html Button.

See also
http://phpmv-ui.kobject.net/index/direct/main/31
http://semantic-ui.com/elements/button.html
Parameters
string$identifier
string$value
string$cssStyle
string$onClick
Returns
HtmlButton

Definition at line 48 of file SemanticHtmlElementsTrait.php.

◆ htmlButtonGroups()

htmlButtonGroups (   $identifier,
  $elements = array(),
  $asIcons = false 
)

Returns a group of Semantic buttons.

See also
http://phpmv-ui.kobject.net/index/direct/main/50
http://semantic-ui.com/elements/button.html#buttons
Parameters
string$identifier
array$elements
boolean$asIcons
Returns
HtmlButtonGroups

Definition at line 62 of file SemanticHtmlElementsTrait.php.

◆ htmlContainer()

htmlContainer (   $identifier,
  $content = "" 
)

Returns a new Semantic container.

See also
http://phpmv-ui.kobject.net/index/direct/main/34
http://semantic-ui.com/elements/container.html
Parameters
string$identifier
string$content
Returns
HtmlContainer

Definition at line 75 of file SemanticHtmlElementsTrait.php.

◆ htmlDivider()

htmlDivider (   $identifier,
  $content = "",
  $tagName = "div" 
)

Returns a new Semantic divider.

See also
http://phpmv-ui.kobject.net/index/direct/main/42
http://semantic-ui.com/elements/divider.html
Parameters
string$identifier
string$content
Returns
HtmlDivider

Definition at line 88 of file SemanticHtmlElementsTrait.php.

◆ htmlEmoji()

htmlEmoji (   $identifier,
  $emoji 
)

Returns a new Semantic Emoji.

Parameters
string$identifier
string$emoji
Returns
HtmlEmoji

Definition at line 267 of file SemanticHtmlElementsTrait.php.

◆ htmlFlag()

htmlFlag (   $identifier,
  $flag 
)

Returns a new Semantic Flag.

Parameters
string$identifier
string$flag
Returns
HtmlFlag

Definition at line 256 of file SemanticHtmlElementsTrait.php.

◆ htmlHeader()

htmlHeader (   $identifier,
  $niveau = 1,
  $content = NULL,
  $type = "page" 
)

Returns a new Semantic header.

See also
http://phpmv-ui.kobject.net/index/direct/main/43
http://semantic-ui.com/elements/header.html
Parameters
string$identifier
number$niveau
mixed$content
string$type
Returns
HtmlHeader

Definition at line 103 of file SemanticHtmlElementsTrait.php.

◆ htmlIcon()

htmlIcon (   $identifier,
  $icon 
)

Returns a new Semantic icon.

See also
http://phpmv-ui.kobject.net/index/direct/main/44
http://semantic-ui.com/elements/icon.html
Parameters
string$identifier
string$icon
Returns
HtmlIcon

Definition at line 116 of file SemanticHtmlElementsTrait.php.

◆ htmlIconGroups()

htmlIconGroups (   $identifier,
  $icons = array(),
  $size = "" 
)

Returns a new Semantic group of images.

See also
http://phpmv-ui.kobject.net/index/direct/main/0
http://semantic-ui.com/elements/image.html#size
Parameters
string$identifier
array$icons
string$size
Returns
HtmlIconGroups

Definition at line 145 of file SemanticHtmlElementsTrait.php.

◆ htmlImage()

htmlImage (   $identifier,
  $src = "",
  $alt = "",
  $size = NULL 
)

Returns a new Semantic image.

See also
http://phpmv-ui.kobject.net/index/direct/main/55
http://semantic-ui.com/elements/image.html
Parameters
string$identifier
string$src
string$alt
string$size
Returns
HtmlImage

Definition at line 131 of file SemanticHtmlElementsTrait.php.

◆ htmlInput()

htmlInput (   $identifier,
  $type = "text",
  $value = "",
  $placeholder = "" 
)

Returns a new Semantic html input.

See also
http://phpmv-ui.kobject.net/index/direct/main/45
http://semantic-ui.com/elements/input.html
Parameters
string$identifier
string$type
string$value
string$placeholder
Returns
HtmlInput

Definition at line 160 of file SemanticHtmlElementsTrait.php.

◆ htmlLabel()

htmlLabel (   $identifier,
  $content = "",
  $icon = NULL,
  $tagName = "div" 
)

Returns a new Semantic label.

See also
http://phpmv-ui.kobject.net/index/direct/main/46
http://semantic-ui.com/elements/label.html
Parameters
string$identifier
string$content
string$tagName
Returns
HtmlLabel

Definition at line 174 of file SemanticHtmlElementsTrait.php.

◆ htmlLabelGroups()

htmlLabelGroups (   $identifier,
  $labels = array(),
  $attributes = array() 
)
Parameters
string$identifier
array$labels
array$attributes
Returns
HtmlLabelGroups

Definition at line 185 of file SemanticHtmlElementsTrait.php.

◆ htmlList()

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

Returns a new Semantic list.

Parameters
string$identifier
array$items
Returns
HtmlList

Definition at line 196 of file SemanticHtmlElementsTrait.php.

◆ htmlRail()

htmlRail (   $identifier,
  $content = null 
)

Returns a new Semantic Rail.

Parameters
string$identifier
mixed$content
Returns
HtmlRail

Definition at line 278 of file SemanticHtmlElementsTrait.php.

◆ htmlReveal()

htmlReveal (   $identifier,
  $visibleContent,
  $hiddenContent,
  $type = RevealType::FADE,
  $attributeType = NULL 
)

Returns a new Semantic Reveal.

Parameters
string$identifier
string | HtmlSemDoubleElement$visibleContent
string | HtmlSemDoubleElement$hiddenContent
RevealType | string$type
Direction | string$attributeType
Returns
HtmlReveal

Definition at line 233 of file SemanticHtmlElementsTrait.php.

◆ htmlSegment()

htmlSegment (   $identifier,
  $content = "" 
)

Adds a new segment, used to create a grouping of related content.

Parameters
string$identifier
string$content
Returns
HtmlSegment

Definition at line 207 of file SemanticHtmlElementsTrait.php.

◆ htmlSegmentGroups()

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

Adds a group of segments.

Parameters
string$identifier
array$itemsthe segments
Returns
HtmlSegmentGroups

Definition at line 219 of file SemanticHtmlElementsTrait.php.

◆ htmlStep()

htmlStep (   $identifier,
  $steps = array() 
)

Returns a new Semantic Step.

Parameters
string$identifier
array$steps
Returns
HtmlStep

Definition at line 244 of file SemanticHtmlElementsTrait.php.


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