예제 #1
0
 public function __construct($options = null)
 {
     $default = array('id' => 'form-contacts', 'action' => Zend_Controller_Front::getInstance()->getBaseUrl() . Axis_Locale::getLanguageUrl() . '/contacts');
     if (is_array($options)) {
         $default = array_merge($default, $options);
     }
     parent::__construct($default);
 }
예제 #2
0
 public function __construct($options = null)
 {
     $default = array('id' => 'form-address', 'subform' => false);
     if (is_array($options)) {
         $default = array_merge($default, $options);
     }
     parent::__construct($default);
 }
예제 #3
0
 public function __construct($options = array())
 {
     $default = array('id' => 'form-info', 'action' => Zend_Controller_Front::getInstance()->getBaseUrl() . Axis_Locale::getLanguageUrl() . '/account/info/change');
     if (null !== $options || !count($options)) {
         $default = array_merge($default, $options);
     }
     parent::__construct($default);
 }
예제 #4
0
 /**
  * @param array $options[productId => int]
  */
 function __construct($options = null)
 {
     $product = $options['productId'];
     $default = array('id' => 'form-review', 'action' => Zend_Controller_Front::getInstance()->getBaseUrl() . Axis_Locale::getLanguageUrl() . '/review/add/product/' . $product);
     if (is_array($options)) {
         $default = array_merge($default, $options);
     }
     parent::__construct($default);
 }
예제 #5
0
 public function __construct($options = null)
 {
     $page = $options['pageId'];
     $default = array('id' => 'form-page-comment', 'action' => Zend_Controller_Front::getInstance()->getBaseUrl() . Axis_Locale::getLanguageUrl() . '/cms/comment/add/page/' . $page . '#form-page-comment');
     if (is_array($options)) {
         $default = array_merge($default, $options);
     }
     parent::__construct($default);
 }
예제 #6
0
 public function __construct($options = array())
 {
     $default = array('id' => 'form-signup', 'action' => Zend_Controller_Front::getInstance()->getBaseUrl() . Axis_Locale::getLanguageUrl() . '/account/auth/register');
     $default = array_merge($default, $options);
     parent::__construct($default);
 }