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 190 of file aliroComponentManager.php.


Constructor & Destructor Documentation

aliroComponentControllers::__construct ( manager  )  [protected]

Reimplemented in aliroComponentAdminControllers, and sefAdminControllers.

Definition at line 199 of file aliroComponentManager.php.

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

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


Member Function Documentation

aliroComponentControllers::__clone (  )  [protected]

Reimplemented in aliroComponentAdminControllers.

Definition at line 209 of file aliroComponentManager.php.

00209                                   {
00210         // Restricted to enforce singleton
00211     }

aliroComponentControllers::makePageNav ( total  ) 

Definition at line 213 of file aliroComponentManager.php.

References aliroFriendlyBase::getCfg().

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

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


Member Data Documentation

aliroComponentControllers::$authoriser = null [protected]

Definition at line 191 of file aliroComponentManager.php.

aliroComponentControllers::$user [protected]

Definition at line 192 of file aliroComponentManager.php.

aliroComponentControllers::$menu [protected]

Definition at line 193 of file aliroComponentManager.php.

aliroComponentControllers::$params [protected]

Definition at line 194 of file aliroComponentManager.php.

aliroComponentControllers::$manager [protected]

aliroComponentControllers::$idparm [protected]

Definition at line 196 of file aliroComponentManager.php.

aliroComponentControllers::$pageNav

Definition at line 197 of file aliroComponentManager.php.


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

Generated on Thu Apr 17 13:03:29 2008 for ALIRO by  doxygen 1.5.5