Esempio n. 1
0
 protected function _construct()
 {
     parent::_construct();
     //Only in case that the form is loaded in the backend, use a special template
     if (false === Mage::getModel("ops/config")->isFrontendEnvironment()) {
         $this->setTemplate(self::BACKEND_TEMPLATE);
     }
 }
Esempio n. 2
0
 /**
  * Init OPS payment form
  *
  */
 protected function _construct()
 {
     parent::_construct();
     $this->setTemplate(self::FRONTEND_TEMPLATE);
 }
Esempio n. 3
0
 protected function _construct()
 {
     parent::_construct();
     $this->setTemplate('ops/form/alias.phtml');
 }