Public Member Functions | |
__construct () | |
getRelease () | |
getMaintainerRoles () |
Definition at line 34 of file Package.php.
__construct | ( | ) |
Class constructor
Reimplemented from Mage_Adminhtml_Block_Widget_Form.
Definition at line 38 of file Package.php.
00039 { 00040 parent::__construct(); 00041 $this->setTemplate('extensions/remote/package.phtml'); 00042 }
getMaintainerRoles | ( | ) |
Definition at line 54 of file Package.php.
00055 { 00056 return Mage::getModel('adminhtml/extension')->getMaintainerRoles(); 00057 }
getRelease | ( | ) |
Definition at line 44 of file Package.php.
00045 { 00046 if (!$this->hasData('release')) { 00047 $release = new Varien_Object; 00048 $release->setData($this->getPkg()->getData('releases/'.$this->getPkg()->getStable())); 00049 $this->setData('release', $release); 00050 } 00051 return $this->getData('release'); 00052 }