Source for file Renderer.php
Documentation is available at Renderer.php
// vim: foldmethod=marker  
 *  @author     Kazuhiro Hosoi <hosoi@gree.co.jp>  
 *  @license    http://www.opensource.org/licenses/bsd-license.php The BSD License  
 *  @version    $Id: e3e9c8f68ab4a40e933215e67c8a90c383e7c09f $  
 *  @author     Kazuhiro Hosoi <hosoi@gree.co.jp>  
    /** @protected    object  Ethna_Controller    controllerオブジェクト */  
    /** @protected    object  Ethna_Controller    controllerオブジェクト($controllerの省略形) */  
    /** @protected    array   [appid]-ini.phpのレンダラ設定 */  
    /** @protected    string  template directory  */  
    /** @protected    string  template engine */  
    /** @protected    string  path of template engine */  
    /** @protected    string  template file */  
    /** @protected    string  テンプレート変数 */  
    /** @protected    string  レンダラプラグイン(Ethna_Pluginとは関係なし) */  
    /** @protected    object  Ethna_Logger    ログオブジェクト */  
     *  Ethna_Rendererクラスのコンストラクタ  
        $config = 
$this->ctl->getConfig();  
        $this->config = 
$config->get('renderer');  
     *  @param string   $template   テンプレート  
     *  @param  bool    $capture    true ならば出力を表示せずに返す  
    function perform($template = 
null, $capture = 
false)  
        if ($template == 
null && 
$this->template == 
null) {  
     *  @return object   Template Engine.  
     *  @return string   Template Directory  
    function getTemplateDir()  
     *  @param string $name  変数名  
        if (isset
($this->prop[$name])) {  
            return $this->prop[$name];  
    function removeProp($name)  
        if (isset
($this->prop[$name])) {  
            unset
($this->prop[$name]); 
    function setPropArray($array)  
    function setPropArrayByRef(&$array)  
        for ($i = 
0; $i < 
$count; $i++
) {  
            $this->prop[$keys[$i]] = 
$array[$keys[$i]];  
     * @param string $name 変数名  
    function setProp($name, $value)  
        $this->prop[$name] = 
$value;  
     *  @param string $name 変数名  
    function setPropByRef($name, &$value)  
        $this->prop[$name] = 
$value;  
     *  @param string $template テンプレート名  
    function setTemplate($template)  
     *  @param string $dir ディレクトリ名  
    function setTemplateDir($dir)  
     *  @param string $template テンプレート名  
    function templateExists($template)  
     *  @param string $name プラグイン名   
     *  @param string $type プラグインタイプ  
     *  @param string $plugin プラグイン本体  
    function setPlugin($name, $type, $plugin)  
    // {{{ proxy methods (for B.C.)  
    function assign($name, $value)  
        $this->setProp($name, $value);  
     *  テンプレート変数に参照を割り当てる(後方互換)  
    function assign_by_ref($name, &$value)  
        $this->setPropByRef($name, $value);  
    function display($template = 
null)  
        return $this->perform($template);  
        $engine_path = isset
($config['path'])  
            if (file_exists_ex($engine_path)) {  
                require_once $engine_path;  
                trigger_error("template engine is not available: path=" . 
$engine_path, E_USER_ERROR);  
 
 
	
		Documentation generated on Fri, 11 Nov 2011 03:59:00 +0900 by phpDocumentor 1.4.3