Mage_Adminhtml_Block_Api_User_Edit_Tabs Class Reference

Inheritance diagram for Mage_Adminhtml_Block_Api_User_Edit_Tabs:

Mage_Adminhtml_Block_Widget_Tabs 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 ()

Protected Member Functions

 _beforeToHtml ()


Detailed Description

Definition at line 34 of file Tabs.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 37 of file Tabs.php.

00038     {
00039         parent::__construct();
00040         $this->setId('page_tabs');
00041         $this->setDestElementId('edit_form');
00042         $this->setTitle(Mage::helper('adminhtml')->__('User Information'));
00043     }


Member Function Documentation

_beforeToHtml (  )  [protected]

Before rendering html, but after trying to load cache

Returns:
Mage_Core_Block_Abstract

Reimplemented from Mage_Adminhtml_Block_Widget_Tabs.

Definition at line 45 of file Tabs.php.

00046     {
00047         $this->addTab('main_section', array(
00048             'label'     => Mage::helper('adminhtml')->__('User Info'),
00049             'title'     => Mage::helper('adminhtml')->__('User Info'),
00050             'content'   => $this->getLayout()->createBlock('adminhtml/api_user_edit_tab_main')->toHtml(),
00051             'active'    => true
00052         ));
00053 
00054         $this->addTab('roles_section', array(
00055             'label'     => Mage::helper('adminhtml')->__('User Role'),
00056             'title'     => Mage::helper('adminhtml')->__('User Role'),
00057             'content'   => $this->getLayout()->createBlock('adminhtml/api_user_edit_tab_roles', 'user.roles.grid')->toHtml(),
00058         ));
00059         return parent::_beforeToHtml();
00060     }


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

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