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

Public Member Functions

 getProperties ()
 
 setProperties ($properties)
 
 setProperty ($name, $value)
 
 getProperty ($name)
 
 addToProperty ($name, $value, $separator=" ")
 
 addProperties ($properties)
 
 removePropertyValue ($name, $value)
 
 addToPropertyCtrl ($name, $value, $typeCtrl)
 
 addToPropertyCtrlCheck ($name, $value, $typeCtrl)
 
 removeProperty ($name)
 
 propertyContains ($propertyName, $value)
 

Protected Member Functions

 ctrl ($name, $value, $typeCtrl)
 
 removeOldValues (&$oldValue, $allValues)
 
 _getElementBy ($callback, $elements)
 
 removePropertyValues ($name, $values)
 
 addToPropertyUnique ($name, $value, $typeCtrl)
 
 setPropertyCtrl ($name, $value, $typeCtrl)
 
 getElementByPropertyValue ($propertyName, $value, $elements)
 

Protected Attributes

 $properties =array ()
 

Detailed Description

Definition at line 11 of file BaseHtmlPropertiesTrait.php.

Member Function Documentation

◆ _getElementBy()

_getElementBy (   $callback,
  $elements 
)
abstractprotected

Reimplemented in BaseHtml.

◆ addProperties()

addProperties (   $properties)

Definition at line 63 of file BaseHtmlPropertiesTrait.php.

◆ addToProperty()

addToProperty (   $name,
  $value,
  $separator = " " 
)
Parameters
string$name
mixed$value
string$separator
Returns
$this

Reimplemented in Widget.

Definition at line 46 of file BaseHtmlPropertiesTrait.php.

◆ addToPropertyCtrl()

addToPropertyCtrl (   $name,
  $value,
  $typeCtrl 
)

Definition at line 87 of file BaseHtmlPropertiesTrait.php.

◆ addToPropertyCtrlCheck()

addToPropertyCtrlCheck (   $name,
  $value,
  $typeCtrl 
)

Definition at line 91 of file BaseHtmlPropertiesTrait.php.

◆ addToPropertyUnique()

addToPropertyUnique (   $name,
  $value,
  $typeCtrl 
)
protected

Definition at line 78 of file BaseHtmlPropertiesTrait.php.

◆ ctrl()

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

Reimplemented in BaseHtml.

◆ getElementByPropertyValue()

getElementByPropertyValue (   $propertyName,
  $value,
  $elements 
)
protected

Definition at line 118 of file BaseHtmlPropertiesTrait.php.

◆ getProperties()

getProperties ( )

Definition at line 17 of file BaseHtmlPropertiesTrait.php.

◆ getProperty()

getProperty (   $name)

Definition at line 35 of file BaseHtmlPropertiesTrait.php.

◆ propertyContains()

propertyContains (   $propertyName,
  $value 
)

Definition at line 104 of file BaseHtmlPropertiesTrait.php.

◆ removeOldValues()

removeOldValues ( $oldValue,
  $allValues 
)
abstractprotected

Reimplemented in BaseHtml.

◆ removeProperty()

removeProperty (   $name)

Definition at line 98 of file BaseHtmlPropertiesTrait.php.

◆ removePropertyValue()

removePropertyValue (   $name,
  $value 
)

Definition at line 68 of file BaseHtmlPropertiesTrait.php.

◆ removePropertyValues()

removePropertyValues (   $name,
  $values 
)
protected

Definition at line 73 of file BaseHtmlPropertiesTrait.php.

◆ setProperties()

setProperties (   $properties)
Parameters
array$properties
Returns
$this

Reimplemented in HtmlCollection.

Definition at line 25 of file BaseHtmlPropertiesTrait.php.

◆ setProperty()

setProperty (   $name,
  $value 
)

Definition at line 30 of file BaseHtmlPropertiesTrait.php.

◆ setPropertyCtrl()

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

Definition at line 112 of file BaseHtmlPropertiesTrait.php.

Field Documentation

◆ $properties

$properties =array ()
protected

Definition at line 13 of file BaseHtmlPropertiesTrait.php.


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