Mage_Install_Block_Download Class Reference

Inheritance diagram for Mage_Install_Block_Download:

Mage_Install_Block_Abstract Mage_Core_Block_Template Mage_Core_Block_Abstract Varien_Object

List of all members.

Public Member Functions

 __construct ()
 getPostUrl ()
 getNextUrl ()
 hasLocalCopy ()


Detailed Description

Download Magento core modules and updates choice (online, offline)

Author:
Magento Core Team <core@magentocommerce.com>

Definition at line 32 of file Download.php.


Constructor & Destructor Documentation

__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     }


Member Function Documentation

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

Returns:
string

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     }


The documentation for this class was generated from the following file:

Generated on Sat Jul 4 17:24:27 2009 for Magento by  doxygen 1.5.8