PHP Class EditController, gxc-cms

Inheritance: extends BaseController
Afficher le fichier Open project: nganhtuan63/gxc-cms Class Usage Examples

Méthodes publiques

Свойство Type Description
$defaultAction

Méthodes publiques

Méthode 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 méthode

Manages all models.
public actionAdmin ( )

actionCreate() public méthode

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 méthode

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 méthode

public actionMissing ( )

actionMissingdelete() public méthode

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

actionUpdate() public méthode

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 méthode

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