PHP Class Pommo_Template, poMMo

Inheritance: extends Smarty
ファイルを表示 Open project: soonick/poMMo Class Usage Examples

Public Properties

Property Type Description
$_pommoTheme

Public Methods

Method 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 method

public Pommo_Template ( )

assign() public method

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

display() public method

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

escape() public method

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

prepareForSubscribeForm() public method

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

Property Details

$_pommoTheme public_oe property

public $_pommoTheme