EliteConf
 All Data Structures Namespaces Files Functions Variables Pages
Public Member Functions | Data Fields | Protected Member Functions
UsersController Class Reference
Inheritance diagram for UsersController:
Controller

Public Member Functions

 filters ()
 
 accessRules ()
 
 actionView ($id)
 
 actionCreate ()
 
 actionUpdate ($id)
 
 actionDelete ($id)
 
 actionIndex ()
 
 actionAdmin ()
 
 loadModel ($id)
 

Data Fields

 $layout ='//layouts/column2'
 
- Data Fields inherited from Controller
 $layout ='//layouts/column1'
 
 $menu =array()
 
 $breadcrumbs =array()
 

Protected Member Functions

 performAjaxValidation ($model)
 

Detailed Description

Definition at line 4 of file UsersController.php.

Member Function Documentation

accessRules ( )

Specifies the access control rules. This method is used by the 'accessControl' filter.

Returns
array access control rules

Definition at line 28 of file UsersController.php.

actionAdmin ( )

Manages all models.

Definition at line 135 of file UsersController.php.

actionCreate ( )

Creates a new model. If creation is successful, the browser will be redirected to the 'view' page.

Definition at line 64 of file UsersController.php.

actionDelete (   $id)

Deletes a particular model. If deletion is successful, the browser will be redirected to the 'admin' page.

Parameters
integer$idthe ID of the model to be deleted

Definition at line 112 of file UsersController.php.

actionIndex ( )

Lists all models.

Definition at line 124 of file UsersController.php.

actionUpdate (   $id)

Updates a particular model. If update is successful, the browser will be redirected to the 'view' page.

Parameters
integer$idthe ID of the model to be updated

Definition at line 88 of file UsersController.php.

actionView (   $id)

Displays a particular model.

Parameters
integer$idthe ID of the model to be displayed

Definition at line 53 of file UsersController.php.

filters ( )
Returns
array action filters

Definition at line 15 of file UsersController.php.

loadModel (   $id)

Returns the data model based on the primary key given in the GET variable. If the data model is not found, an HTTP exception will be raised.

Parameters
integerthe ID of the model to be loaded

Definition at line 152 of file UsersController.php.

performAjaxValidation (   $model)
protected

Performs the AJAX validation.

Parameters
CModelthe model to be validated

Definition at line 164 of file UsersController.php.

Field Documentation

$layout ='//layouts/column2'

Definition at line 10 of file UsersController.php.


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