aliroComponentControllers Class Reference

Inheritance diagram for aliroComponentControllers:

aliroFriendlyBase aliroComponentAdminControllers aliroDBUpdateController sefAdminControllers sefAdminMetadata sefAdminSef sefAdminUri

List of all members.

Public Member Functions

 makePageNav ($total)

Public Attributes

 $pageNav

Protected Member Functions

 __construct ($manager)
 __clone ()

Protected Attributes

 $authoriser = null
 $user
 $menu
 $params
 $manager
 $idparm


Detailed Description

Definition at line 191 of file aliroComponentManager.php.


Constructor & Destructor Documentation

aliroComponentControllers::__construct ( manager  )  [protected]

Reimplemented in aliroComponentAdminControllers, and sefAdminControllers.

Definition at line 200 of file aliroComponentManager.php.

References $_REQUEST, $manager, aliroUser::getInstance(), aliroAuthoriser::getInstance(), aliroFriendlyBase::getParam(), and menu.

00200                                               {
00201         $this->manager = $manager;
00202         $this->authoriser = aliroAuthoriser::getInstance();
00203         $this->menu = isset($manager->menu) ? $manager->menu : null;
00204         if ($this->menu) $this->params = new aliroParameters($this->menu->params, $this->menu->name);
00205         else $this->params = new aliroParameters();
00206         $this->user = aliroUser::getInstance();
00207         $this->idparm = $this->getParam($_REQUEST, 'id', 0);
00208     }


Member Function Documentation

aliroComponentControllers::__clone (  )  [protected]

Reimplemented in aliroComponentAdminControllers.

Definition at line 210 of file aliroComponentManager.php.

00210                                   {
00211         // Restricted to enforce singleton
00212     }

aliroComponentControllers::makePageNav ( total  ) 

Definition at line 214 of file aliroComponentManager.php.

References aliroFriendlyBase::getCfg().

Referenced by aliroDBUpdateController::listTask(), and sefAdminMetadata::listTask().

00214                                          {
00215         $limit = $this->getUserStateFromRequest($this->option.'_page_limit', 'limit', intval($this->getCfg('list_limit')));
00216         $limitstart = $this->getUserStateFromRequest($this->option.'_page_limitstart', 'limitstart', 0 );
00217         $this->pageNav = new aliroPageNav($total, $limitstart, $limit );
00218     }


Member Data Documentation

aliroComponentControllers::$authoriser = null [protected]

Definition at line 192 of file aliroComponentManager.php.

aliroComponentControllers::$user [protected]

Definition at line 193 of file aliroComponentManager.php.

aliroComponentControllers::$menu [protected]

Definition at line 194 of file aliroComponentManager.php.

aliroComponentControllers::$params [protected]

Definition at line 195 of file aliroComponentManager.php.

aliroComponentControllers::$manager [protected]

aliroComponentControllers::$idparm [protected]

Definition at line 197 of file aliroComponentManager.php.

aliroComponentControllers::$pageNav

Definition at line 198 of file aliroComponentManager.php.


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

Generated on Wed May 14 13:01:58 2008 for ALIRO by  doxygen 1.5.5