Mage_Adminhtml_Block_System_Convert_Gui_Edit_Tab_Upload Class Reference

Inheritance diagram for Mage_Adminhtml_Block_System_Convert_Gui_Edit_Tab_Upload:

Mage_Adminhtml_Block_Widget_Form Mage_Adminhtml_Block_Widget Mage_Adminhtml_Block_Template Mage_Core_Block_Template Mage_Core_Block_Abstract Varien_Object

List of all members.

Public Member Functions

 __construct ()
 getPostMaxSize ()
 getUploadMaxSize ()
 getDataMaxSize ()


Detailed Description

Definition at line 34 of file Upload.php.


Constructor & Destructor Documentation

__construct (  ) 

Class constructor

Reimplemented from Mage_Adminhtml_Block_Widget_Form.

Definition at line 37 of file Upload.php.

00038     {
00039         parent::__construct();
00040         $this->setTemplate('system/convert/profile/upload.phtml');
00041     }


Member Function Documentation

getDataMaxSize (  ) 

Definition at line 53 of file Upload.php.

00054     {
00055         return min($this->getPostMaxSize(), $this->getUploadMaxSize());
00056     }

getPostMaxSize (  ) 

Definition at line 43 of file Upload.php.

00044     {
00045         return ini_get('post_max_size');
00046     }

getUploadMaxSize (  ) 

Definition at line 48 of file Upload.php.

00049     {
00050         return ini_get('upload_max_filesize');
00051     }


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

Generated on Sat Jul 4 17:23:03 2009 for Magento by  doxygen 1.5.8