Mage_Adminhtml_Block_Extensions_File_Form Class Reference

Inheritance diagram for Mage_Adminhtml_Block_Extensions_File_Form:

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

 initForm ()
 getUploadInstallUrl ()
 getUploadButtonHtml ()
 getRemoteInstallUrl ()
 getRemoteButtonHtml ()
 getBackButtonHtml ()


Detailed Description

Definition at line 34 of file Form.php.


Member Function Documentation

getBackButtonHtml (  ) 

Definition at line 78 of file Form.php.

00079     {
00080         $html = '';
00081 
00082         $html .= $this->getLayout()->createBlock('adminhtml/widget_button')->setType('button')
00083             ->setClass('back')->setLabel($this->__('Back to local packages'))
00084             ->setOnClick("setLocation('" . $this->getUrl('*/extensions_local') . "')")
00085             ->toHtml();
00086 
00087         return $html;
00088     }

getRemoteButtonHtml (  ) 

Definition at line 66 of file Form.php.

00067     {
00068         $html = '';
00069 
00070         $html .= $this->getLayout()->createBlock('adminhtml/widget_button')->setType('button')
00071             ->setClass('save')->setLabel($this->__('Download and Install'))
00072             ->setOnClick("install('remote')")
00073             ->toHtml();
00074 
00075         return $html;
00076     }

getRemoteInstallUrl (  ) 

Definition at line 61 of file Form.php.

00062     {
00063         return $this->getUrl('*/*/install', array('do'=>'run', 'file_type'=>'remote'));
00064     }

getUploadButtonHtml (  ) 

Definition at line 49 of file Form.php.

00050     {
00051         $html = '';
00052 
00053         $html .= $this->getLayout()->createBlock('adminhtml/widget_button')->setType('button')
00054             ->setClass('save')->setLabel($this->__('Upload and Install'))
00055             ->setOnClick("install('local')")
00056             ->toHtml();
00057 
00058         return $html;
00059     }

getUploadInstallUrl (  ) 

Definition at line 44 of file Form.php.

00045     {
00046         return $this->getUrl('*/*/install', array('do'=>'run', 'file_type'=>'local'));
00047     }

initForm (  ) 

Definition at line 36 of file Form.php.

00037     {
00038         $this->setTitle('Install Package File');
00039         $this->setTemplate('extensions/file/form.phtml');
00040 
00041         return $this;
00042     }


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

Generated on Sat Jul 4 17:22:50 2009 for Magento by  doxygen 1.5.8