2017-11-30 7 views

答えて

0

Actionパラメータは、例えばCActiveForm

のように動作します:

 <?php 
     $form = $this->beginWidget(
      'TbActiveForm', array(
      'id' => 'contact-form', 
      /** 
      * @var mixed the form action URL (see {@link CHtml::normalizeUrl} for details about this parameter). 
      * If not set, the current page URL is used. 
      */ 
      'action' => array('/front/contact'), 
      'method' => 'post', 
      ) 
     ); 
     ?> 
関連する問題