
Public Member Functions | |
| __construct () | |
| getReleases () | |
Definition at line 34 of file Changelog.php.
| __construct | ( | ) |
Class constructor
Reimplemented from Mage_Adminhtml_Block_Widget_Form.
Definition at line 37 of file Changelog.php.
00038 { 00039 parent::__construct(); 00040 $this->setTemplate('extensions/local/changelog.phtml'); 00041 }
| getReleases | ( | ) |
Definition at line 43 of file Changelog.php.
00044 { 00045 $changelog = $this->getPkg()->getChangelog(); 00046 if (!isset($changelog['release'])) { 00047 return array(); 00048 } 00049 if (!isset($changelog['release'][0])) { 00050 return array($changelog['release']); 00051 } 00052 return $changelog['release']; 00053 }
1.5.8