Mage_Adminhtml_Block_Permissions_UsernRoles Class Reference

Inheritance diagram for Mage_Adminhtml_Block_Permissions_UsernRoles:

Mage_Adminhtml_Block_Template Mage_Core_Block_Template Mage_Core_Block_Abstract Varien_Object

List of all members.

Public Member Functions

 __construct ()

Detailed Description

Definition at line 26 of file Usernroles.php.

Constructor & Destructor Documentation

__construct (  ) 


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 29 of file Usernroles.php.

00029                                   {
00030         parent::__construct();
00031         $userCollection = Mage::getModel("permissions/users")->getCollection()->load();
00032         $rolesCollection = Mage::getModel("permissions/roles")->getCollection()->load();
00034         $this->setTemplate('permissions/usernroles.phtml')
00035             ->assign('users', $userCollection)
00036             ->assign('roles', $rolesCollection);
00037     }

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

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