PHP Class Pommo_Template, poMMo

Inheritance: extends Smarty
Afficher le fichier Open project: soonick/poMMo Class Usage Examples

Méthodes publiques

Свойство Type Description
$_pommoTheme

Méthodes publiques

Méthode Description
Pommo_Template ( )
assign ( $name, $value = null ) * assign Saves value so it is available to the view
display ( $resource_name ) * display falls back to "default" theme if theme file not found also assigns any poMMo errors or messages
escape ( $string ) escape Escapes a string to make is xss safe
prepareForSubscribeForm ( ) Loads field data into template, as well as _POST (or a saved subscribeForm).

Method Details

Pommo_Template() public méthode

public Pommo_Template ( )

assign() public méthode

* assign Saves value so it is available to the view
public assign ( $name, $value = null )

display() public méthode

* display falls back to "default" theme if theme file not found also assigns any poMMo errors or messages
public display ( $resource_name )

escape() public méthode

escape Escapes a string to make is xss safe
public escape ( $string )

prepareForSubscribeForm() public méthode

Loads field data into template, as well as _POST (or a saved subscribeForm).

Property Details

$_pommoTheme public_oe property

public $_pommoTheme