PHP HTML Optimizer code example

Example 1: PHPHtml-Optimizer on github

// Associated or simply means return function
Html::ELEMENT($element=null, $value=null, $attr=null, $id=null, $class=null, $label=null)

// Optional Associated or simply print or return if set as associated function
Html::_ELEMENT($label=null, $elem=null, $attr=null, $id=null, $class=null, $assoc=null)

// Optional Associated or simply print or return if set as associated function
Html::H1($value=null, $attr=null, $id=null, $class=null, $label=null, $assoc=null)

// None or never be Associated or simply print function
Html::_H1($attr=null, $id=null, $class=null)
... content goes here ...
Html::xH1($label=null)

Example 2: PHPHtml-Optimizer on github

// Merge version Associated or simply means return function
_xHTML($elem=null, $value=null, $attr=null, $id=null, $class=null, $label=null);

// Merge version Optional Associated or simply print or return if set as associated function
__HTML($label=null, $elem=null,  $attr=null, $id=null, $class=null, $assoc=null);

// Merge version Optional Associated or simply print or return if set as associated function
H1( $value=null,  $attr=null, $id=null, $class=null, $label=null, $assoc=null );  

// Merge version None or never be Associated or simply print function
_H1($attr=null, $id=null, $class=null) 
... content goes here ...
xH1($label = NULL)

//Merge version Associated or simply return function
_MERGE($elem=null,  $attr=null, $id=null, $class=null);
... content goes here ...
xMERGE($elem=null);

Tags:

Php Example