
Public Member Functions | |
| __construct ($component, $control_name, $alternatives, $default, $title, $system, $version, $menu) | |
| activate () | |
Public Attributes | |
| $menu = null | |
| $limit = 10 | |
| $limitstart = 0 | |
Private Attributes | |
| $func | |
| $method | |
| $classname | |
| $controller | |
Definition at line 160 of file aliroComponentManager.php.
| aliroComponentUserManager::__construct | ( | $ | component, | |
| $ | control_name, | |||
| $ | alternatives, | |||
| $ | default, | |||
| $ | title, | |||
| $ | system, | |||
| $ | version, | |||
| $ | menu | |||
| ) |
Definition at line 169 of file aliroComponentManager.php.
References $_REQUEST, $menu, aliroComponentManager::$system, aliroFriendlyBase::getParam(), and menu.
00169 { 00170 parent::__construct($component, $system, $version); 00171 $this->menu = $menu; 00172 if ($title) $this->SetPageTitle($title); 00173 $this->func = $this->getParam ($_REQUEST, $control_name, $default); 00174 if (isset($alternatives[$this->func])) $this->method = $alternatives[$this->func]; 00175 else $this->method = $this->func; 00176 $this->classname = $this->barename.'_'.$this->method.'_Controller'; 00177 00178 if (class_exists($this->classname)) $this->controller = call_user_func(array($this->classname, 'getInstance'), $this); 00179 else new aliroPage404(); 00180 }
| aliroComponentUserManager::activate | ( | ) |
Definition at line 182 of file aliroComponentManager.php.
References aliroComponentManager::noMagicQuotes().
00182 { 00183 $this->noMagicQuotes(); 00184 $cmethod = $this->method; 00185 if (method_exists($this->controller,$cmethod)) $this->controller->$cmethod($this->func); 00186 else new aliroPage404(); 00187 }
aliroComponentUserManager::$func [private] |
Definition at line 161 of file aliroComponentManager.php.
aliroComponentUserManager::$method [private] |
Definition at line 162 of file aliroComponentManager.php.
aliroComponentUserManager::$classname [private] |
Definition at line 163 of file aliroComponentManager.php.
aliroComponentUserManager::$controller [private] |
Definition at line 164 of file aliroComponentManager.php.
| aliroComponentUserManager::$menu = null |
| aliroComponentUserManager::$limit = 10 |
Definition at line 166 of file aliroComponentManager.php.
| aliroComponentUserManager::$limitstart = 0 |
Definition at line 167 of file aliroComponentManager.php.
1.5.5