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

Public Member Functions

 addToProperty ($name, $value, $separator=" ")
 
 setProperty ($name, $value)
 
 addContent ($content, $before=false)
 
 onCreate ($jsCode)
 
 addVariation ($variation)
 
 addState ($state)
 
 setVariation ($variation)
 
 setVariations ($variations)
 
 setState ($state)
 
 addVariations ($variations=array())
 
 addStates ($states=array())
 
 setStates ($states)
 
 addIcon ($icon, $before=true)
 
 addSticky ($context="body")
 
 setSize ($size)
 
 setDisabled ($disable=true)
 show it is currently unable to be interacted with
 
 setColor ($color)
 
 setFluid ()
 
 asHeader ()
 
 setActive ($value=true)
 show it is currently the active user selection
 
 setAttached ($value=true)
 
 setInverted ($recursive=true)
 can be formatted to appear on dark backgrounds
 
 setCircular ()
 
 setFloated ($direction="right")
 
 floatRight ()
 
 floatLeft ()
 
 getBaseClass ()
 
 getVariations ()
 
 getStates ()
 

Protected Member Functions

 setPropertyCtrl ($name, $value, $typeCtrl)
 
 addToPropertyCtrl ($name, $value, $typeCtrl)
 
 addToPropertyCtrlCheck ($name, $value, $typeCtrl)
 
 addBehavior (&$array, $key, $value, $before="", $after="")
 

Protected Attributes

 $_variations =[ ]
 
 $_states =[ ]
 
 $_baseClass
 

Detailed Description

Definition at line 17 of file BaseTrait.php.

Member Function Documentation

◆ addBehavior()

addBehavior ( $array,
  $key,
  $value,
  $before = "",
  $after = "" 
)
protected

Definition at line 202 of file BaseTrait.php.

◆ addContent()

addContent (   $content,
  $before = false 
)
abstract

◆ addIcon()

addIcon (   $icon,
  $before = true 
)

Reimplemented in HtmlViewItem, HtmlLink, and HtmlFormField.

Definition at line 92 of file BaseTrait.php.

◆ addState()

addState (   $state)

Definition at line 40 of file BaseTrait.php.

◆ addStates()

addStates (   $states = array())

Definition at line 73 of file BaseTrait.php.

◆ addSticky()

addSticky (   $context = "body")

Definition at line 96 of file BaseTrait.php.

◆ addToProperty()

addToProperty (   $name,
  $value,
  $separator = " " 
)
abstract

◆ addToPropertyCtrl()

addToPropertyCtrl (   $name,
  $value,
  $typeCtrl 
)
abstractprotected

◆ addToPropertyCtrlCheck()

addToPropertyCtrlCheck (   $name,
  $value,
  $typeCtrl 
)
abstractprotected

◆ addVariation()

addVariation (   $variation)

Definition at line 36 of file BaseTrait.php.

◆ addVariations()

addVariations (   $variations = array())

Definition at line 64 of file BaseTrait.php.

◆ asHeader()

asHeader ( )
Returns
HtmlSemDoubleElement

Reimplemented in HtmlDivider.

Definition at line 143 of file BaseTrait.php.

◆ floatLeft()

floatLeft ( )

Definition at line 194 of file BaseTrait.php.

◆ floatRight()

floatRight ( )

Definition at line 190 of file BaseTrait.php.

◆ getBaseClass()

getBaseClass ( )

Definition at line 198 of file BaseTrait.php.

◆ getStates()

getStates ( )

Definition at line 219 of file BaseTrait.php.

◆ getVariations()

getVariations ( )

Definition at line 215 of file BaseTrait.php.

◆ onCreate()

onCreate (   $jsCode)
abstract

◆ setActive()

setActive (   $value = true)

show it is currently the active user selection

Returns
HtmlSemDoubleElement

Reimplemented in HtmlBreadcrumb, HtmlAbsractItem, HtmlAccordionItem, HtmlAccordionMenuItem, HtmlShapeItem, and HtmlStepItem.

Definition at line 151 of file BaseTrait.php.

◆ setAttached()

setAttached (   $value = true)

Definition at line 157 of file BaseTrait.php.

◆ setCircular()

setCircular ( )

Reimplemented in HtmlButton, HtmlHeader, HtmlImage, HtmlReveal, and HtmlSegment.

Definition at line 182 of file BaseTrait.php.

◆ setColor()

setColor (   $color)
Parameters
string$color
Returns
HtmlSemDoubleElement

Reimplemented in HtmlGridRow, and HtmlButton.

Definition at line 127 of file BaseTrait.php.

◆ setDisabled()

setDisabled (   $disable = true)

show it is currently unable to be interacted with

Parameters
boolean$disable
Returns
HtmlSemDoubleElement

Definition at line 116 of file BaseTrait.php.

◆ setFloated()

setFloated (   $direction = "right")

Definition at line 186 of file BaseTrait.php.

◆ setFluid()

setFluid ( )
Returns
HtmlSemDoubleElement

Reimplemented in HtmlMenu, and HtmlSearch.

Definition at line 135 of file BaseTrait.php.

◆ setInverted()

setInverted (   $recursive = true)

can be formatted to appear on dark backgrounds

Reimplemented in HtmlDimmer, HtmlModal, HtmlTab, DataForm, and DataTable.

Definition at line 166 of file BaseTrait.php.

◆ setProperty()

setProperty (   $name,
  $value 
)
abstract

◆ setPropertyCtrl()

setPropertyCtrl (   $name,
  $value,
  $typeCtrl 
)
abstractprotected

◆ setSize()

setSize (   $size)

See also
\Ajax\common\html\HtmlSingleElement::setSize()

Reimplemented in HtmlFormField.

Definition at line 107 of file BaseTrait.php.

◆ setState()

setState (   $state)

Reimplemented in HtmlMessage.

Definition at line 59 of file BaseTrait.php.

◆ setStates()

setStates (   $states)

Definition at line 82 of file BaseTrait.php.

◆ setVariation()

setVariation (   $variation)

Reimplemented in HtmlMessage.

Definition at line 44 of file BaseTrait.php.

◆ setVariations()

setVariations (   $variations)

Definition at line 49 of file BaseTrait.php.

Field Documentation

◆ $_baseClass

$_baseClass
protected

Definition at line 20 of file BaseTrait.php.

◆ $_states

$_states =[ ]
protected

Definition at line 19 of file BaseTrait.php.

◆ $_variations

$_variations =[ ]
protected

Definition at line 18 of file BaseTrait.php.


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