Mage_Adminhtml_Block_Extensions_Custom_Edit_Tab_Contents Class Reference

Inheritance diagram for Mage_Adminhtml_Block_Extensions_Custom_Edit_Tab_Contents:

Mage_Adminhtml_Block_Extensions_Custom_Edit_Tab_Abstract 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 ()
 getMageRoles ()
 getPearRoles ()


Detailed Description

Definition at line 34 of file Contents.php.


Constructor & Destructor Documentation

__construct (  ) 

Class constructor

Reimplemented from Mage_Adminhtml_Block_Extensions_Custom_Edit_Tab_Abstract.

Definition at line 37 of file Contents.php.

00038     {
00039         parent::__construct();
00040         $this->setTemplate('extensions/custom/contents.phtml');
00041     }


Member Function Documentation

getMageRoles (  ) 

Definition at line 43 of file Contents.php.

00044     {
00045         $arr = array();
00046         foreach (Mage::getModel('adminhtml/extension')->getRoles() as $k=>$role) {
00047             if (isset($role['name'])) {
00048                 $arr[$k] = $role['name'];
00049             }
00050         }
00051         return $arr;
00052     }

getPearRoles (  ) 

Definition at line 54 of file Contents.php.

00055     {
00056         return array(
00057             'php'=>'PHP Files',
00058             'data'=>'Data files',
00059             'doc'=>'Documentation',
00060             'script'=>'Scripts',
00061             'test'=>'Tests'
00062         );
00063     }


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

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