Public Member Functions | |
__construct () | |
getPostUrl () | |
getNextUrl () | |
hasLocalCopy () |
Definition at line 32 of file Download.php.
__construct | ( | ) |
Constructor
By default is looking for first argument as array and assignes it as object attributes This behaviour may change in child classes
Reimplemented from Varien_Object.
Definition at line 34 of file Download.php.
00035 { 00036 parent::__construct(); 00037 $this->setTemplate('install/download.phtml'); 00038 }
getNextUrl | ( | ) |
Definition at line 50 of file Download.php.
00051 { 00052 return Mage::getModel('install/wizard') 00053 ->getStepByName('download') 00054 ->getNextUrl(); 00055 }
getPostUrl | ( | ) |
Retrieve locale data post url
Definition at line 45 of file Download.php.
00046 { 00047 return $this->getUrl('*/*/downloadPost'); 00048 }
hasLocalCopy | ( | ) |
Definition at line 57 of file Download.php.
00058 { 00059 $dir = Mage::getConfig()->getModuleDir('etc', 'Mage_Adminhtml'); 00060 if ($dir && file_exists($dir)) { 00061 return true; 00062 } 00063 return false; 00064 }