HTML_QuickForm::accept()
■code
void &HTML_QuickForm_element::accept(object &$renderer)
■説明
レンダラを受け取ります。
このメソッドは「ビジター・デザイン・パターン」の一部です。
■パラメータ説明
object &$renderer
HTML_QuickForm_Rendererオブジェクトを指定。
■example
<?php
require_once "Smarty.class.php";
require_once "HTML/QuickForm/Renderer/ArraySmarty.php";
// HTML_QuickForm renderer for Smarty templates の取得
$renderer =& new HTML_QuickForm_Renderer_ArraySmarty($smarty);
$_form->accept($renderer);
$smarty->assign('form', $renderer->toArray());
?>
インフォメーションへ戻る
第1回 PHPのコードとHTMLタグ
コラム
 
第2回 HTML_QuickFormを使ってみよう
 
第3回 HTML_QuickFormを使ってみよう(パート2)
HTML_QuickForm Memo
 
第4回 Smartyを使ってみよう
HTML_QuickForm Menu
 
第5回 HTML_QuickFormとSmartyを使ってみよう
HTML_QuickForm Smarty Tips
 
第6回 HTML_QuickFormとSmartyを使ってみよう(パート2)
Mojavi Memo
 
第7回 実践編 HTML_QuickFormとSmartyを使ってみてどうよ?
Ajax Memo
 
第8回 HTML_QuickForm_Controller大好き!
 
第9回 Mojaviのまとめ
 
第10回 Ajax使ってみました
 
第11回 PHPEclipse開発環境設定
 
第12回 Eclipse+PHPIDEインストール記
 
第13回目 PHPIDEによるデバック
 
第14回目 Selenium IDEを使ってみました
 
第15回目 PDT(旧 PHPIDE)のインストール、デバック