Class Ethna_Renderer_Smarty

Description

Smarty rendere class

Located in /class/Renderer/Smarty.php (line 20)

Ethna_Renderer
   |
   --Ethna_Renderer_Smarty
Variable Summary
 mixed $engine_path
Method Summary
 Ethna_Renderer_Smarty __construct ( $controller)
 mixed 変数 getProp ([string $name = null])
 void perform ([string $template = null], [bool $capture = false])
 void removeProp (name $name)
 void setPlugin ( $name, string $type, mixed $plugin, string $name プラグイン名)
 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 33)

Ethna_Renderer_Smartyクラスのコンストラクタ

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

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

テンプレート変数を取得する

  • access: public
mixed 変数 getProp ([string $name = null])
  • string $name: 変数名
perform (line 85)

ビューを出力する

  • access: public
void perform ([string $template = null], [bool $capture = false])
  • string $template: テンプレート名
  • bool $capture: true ならば出力を表示せずに返す
removeProp (line 134)

テンプレート変数を削除する

  • access: public
void removeProp (name $name)
  • name $name: 変数名
setPlugin (line 198)

プラグインをセットする

  • access: public
void setPlugin ( $name, string $type, mixed $plugin, string $name プラグイン名)
  • string $name プラグイン名
  • string $type: プラグインタイプ
  • mixed $plugin: プラグイン本体
  • $name
setProp (line 171)

テンプレート変数を割り当てる

  • access: public
void setProp (string $name, mixed $value)
  • string $name: 変数名
  • mixed $value: 値
setPropArray (line 146)

テンプレート変数に配列を割り当てる

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

テンプレート変数に配列を参照として割り当てる

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

テンプレート変数に参照を割り当てる

  • access: public
void setPropByRef (string $name,  &$value, mixed $value)
  • string $name: 変数名
  • mixed $value: 値
  • &$value

Inherited Methods

Inherited From Ethna_Renderer

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

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