2009-09-24から1日間の記事一覧
$this付きの変数を宣言すれば、他のexecute()で受け継げるactions.class.php public function preExecute() { $this->aaa = 'aaa'; } public function executeIndex() { $this->bbb = $this->aaa; }indexSuccess.php <br /> 出力 aaa aaa[symfony 1.0.9]
$this付きの変数を宣言すれば、他のexecute()で受け継げるactions.class.php public function preExecute() { $this->aaa = 'aaa'; } public function executeIndex() { $this->bbb = $this->aaa; }indexSuccess.php <br /> 出力 aaa aaa[symfony 1.0.9]