Exemplo n.º 1
0
 /**
  * Class constructor
  *
  */
 public function __construct()
 {
     parent::__construct();
     $this->setTemplate('downloadable/product/edit/downloadable/links.phtml');
     $this->setCanEditPrice(true);
     $this->setCanReadPrice(true);
 }
Exemplo n.º 2
0
 /**
  * Init block, set preview template
  */
 public function __construct()
 {
     parent::__construct();
     $device = Mage::helper('xmlconnect')->getDeviceType();
     if (array_key_exists($device, Mage::helper('xmlconnect')->getSupportedDevices())) {
         $template = 'xmlconnect/edit/tab/design/images_' . strtolower($device) . '.phtml';
     } else {
         Mage::throwException($this->__('Device doesn\'t recognized. Unable to load a template.'));
     }
     $this->setTemplate($template);
 }
Exemplo n.º 3
0
 /**
  * Class constructor
  *
  */
 public function __construct()
 {
     parent::__construct();
     $this->setTemplate('downloadable/product/edit/downloadable/samples.phtml');
 }