Class Ethna_Renderer_Smarty3

Description

Smarty 3.x

Located in /class/Renderer/Smarty3.php (line 19)

Ethna_Renderer
   |
   --Ethna_Renderer_Smarty3
Variable Summary
 mixed $engine_path
Method Summary
 Ethna_Renderer_Smarty3 __construct ( $controller)
 mixed getProp ([string $name = null])
 void perform ([string $template = null], [bool $capture = false])
 void removeProp (name $name)
 void setPlugin (string $name, string $type, mixed $plugin)
 void setProp (string $name, mixed $value)
 void setPropArray (array $array)
 void setPropArrayByRef ( &$array, array $array)
 void setPropByRef (string $name,  &$value, mixed $value)
Variables
Methods
Constructor __construct (line 32)

Constructor for Ethna_Renderer_Smarty3

  • access: public
Ethna_Renderer_Smarty3 __construct ( $controller)
  • $controller

Redefinition of:
Ethna_Renderer::__construct()
Ethna_Rendererクラスのコンストラクタ
getProp (line 115)

get tamplate variable

  • return: variables
  • access: public
mixed getProp ([string $name = null])
  • string $name: variable name
perform (line 81)

Display the template

  • access: public
void perform ([string $template = null], [bool $capture = false])
  • string $template: template name
  • bool $capture: if true, not display but return as string
removeProp (line 132)

remove template variable

  • access: public
void removeProp (name $name)
  • name $name: variable name
setPlugin (line 195)

プラグインをセットする

  • TODO: i don't know whether this is working or not
  • access: public
void setPlugin (string $name, string $type, mixed $plugin)
  • string $name: plugin name
  • string $type: plugin type
  • mixed $plugin: plugin
setProp (line 168)

set template variable

  • access: public
void setProp (string $name, mixed $value)
  • string $name: variable name
  • mixed $value: value
setPropArray (line 144)

set array to template variable

  • access: public
void setPropArray (array $array)
  • array $array
setPropArrayByRef (line 155)

set array to template variable by reference

  • access: public
void setPropArrayByRef ( &$array, array $array)
  • array $array
  • &$array
setPropByRef (line 181)

set template variable by reference

  • access: public
void setPropByRef (string $name,  &$value, mixed $value)
  • string $name: variable name
  • mixed $value: value
  • &$value

Inherited Methods

Inherited From Ethna_Renderer

 Ethna_Renderer::__construct()
 Ethna_Renderer::loadEngine()

Documentation generated on Fri, 11 Nov 2011 03:59:06 +0900 by phpDocumentor 1.4.3