PHP Class EditController, gxc-cms

Inheritance: extends BaseController
Mostra file Open project: nganhtuan63/gxc-cms Class Usage Examples

Public Properties

Property Type Description
$defaultAction

Public Methods

Method Description
actionAdmin ( ) Manages all models.
actionCreate ( integer $id, $language ) Updates a particular model.
actionDelete ( integer $id, string $language ) Deletes a record
actionMissing ( )
actionMissingdelete ( integer $id ) Deletes a record
actionUpdate ( integer $id, $language ) Updates a particular model.
translateLoadModel ( $id, $language ) Returns the data model based on the primary key given in the GET variable.

Method Details

actionAdmin() public method

Manages all models.
public actionAdmin ( )

actionCreate() public method

If update is successful, the browser will be redirected to the 'view' page.
public actionCreate ( integer $id, $language )
$id integer the ID of the model to be updated

actionDelete() public method

Deletes a record
public actionDelete ( integer $id, string $language )
$id integer the ID of the model to be deleted
$language string the language of the model to de deleted

actionMissing() public method

public actionMissing ( )

actionMissingdelete() public method

Deletes a record
public actionMissingdelete ( integer $id )
$id integer the ID of the model to be deleted

actionUpdate() public method

If update is successful, the browser will be redirected to the 'view' page.
public actionUpdate ( integer $id, $language )
$id integer the ID of the model to be updated

translateLoadModel() public method

If the data model is not found, an HTTP exception will be raised.
public translateLoadModel ( $id, $language )

Property Details

$defaultAction public_oe property

public $defaultAction