Mage_Adminhtml_Block_Api_Roles Class Reference

Inheritance diagram for Mage_Adminhtml_Block_Api_Roles:

Mage_Adminhtml_Block_Template Mage_Core_Block_Template Mage_Core_Block_Abstract Varien_Object

List of all members.

Public Member Functions

 __construct ()
 getAddNewUrl ()
 getGridHtml ()


Detailed Description

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

00037     {
00038         parent::__construct();
00039         $this->setTemplate('api/roles.phtml');
00040     }


Member Function Documentation

getAddNewUrl (  ) 

Definition at line 42 of file Roles.php.

00043     {
00044         return $this->getUrl('*/*/editrole');
00045     }

getGridHtml (  ) 

Definition at line 47 of file Roles.php.

00048     {
00049         return $this->getLayout()->createBlock('adminhtml/api_grid_role')->toHtml();
00050     }


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