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); }
public function __construct($options = null) { $default = array('id' => 'form-address', 'subform' => false); if (is_array($options)) { $default = array_merge($default, $options); } parent::__construct($default); }
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); }
/** * @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); }
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); }
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); }