Properties

$layout

$layout : string

Type

string — the default layout for the views. Defaults to '//layouts/column2', meaning using two-column layout. See 'protected/views/layouts/column2.php'.

Methods

filters()

filters() : array

Returns

array —

action filters

accessRules()

accessRules() : array

Specifies the access control rules.

This method is used by the 'accessControl' filter.

Returns

array —

access control rules

actionView()

actionView(mixed  $id) : mixed

Parameters

mixed $id

Returns

mixed —

actionCreate()

actionCreate() : mixed

Creates a new model.

If creation is successful, the browser will be redirected to the 'view' page.

Returns

mixed —

actionUpdate()

actionUpdate(int  $id) : mixed

Updates a particular model.

If update is successful, the browser will be redirected to the 'view' page.

Parameters

int $id

the ID of the model to be updated

Returns

mixed —

actionInlineUpdate()

actionInlineUpdate() : mixed

Updates a field in the model.

Returns

mixed —

actionDelete()

actionDelete(int  $id) : mixed

Deletes a particular model.

If deletion is successful, the browser will be redirected to the 'index' page.

Parameters

int $id

the ID of the model to be deleted

Returns

mixed —

actionIndex()

actionIndex() : mixed

Lists all models.

Returns

mixed —

actionUpdateAllTeamNumbers()

actionUpdateAllTeamNumbers(mixed  $gameId) : mixed

Parameters

mixed $gameId

Returns

mixed —

actionListAvailableAccommodations()

actionListAvailableAccommodations( $team_id) : mixed

The source of all available accommodations for selects

Parameters

$team_id

Returns

mixed —

performAjaxValidation()

performAjaxValidation(\CModel  $model) : mixed

Performs the AJAX validation.

Parameters

\CModel $model

the model to be validated

Returns

mixed —