PHP Класс EditController, gxc-cms

Наследование: extends BaseController
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
$defaultAction

Открытые методы

Метод Описание
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.

Описание методов

actionAdmin() публичный Метод

Manages all models.
public actionAdmin ( )

actionCreate() публичный Метод

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() публичный Метод

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 actionMissing ( )

actionMissingdelete() публичный Метод

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

actionUpdate() публичный Метод

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() публичный Метод

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

Описание свойств

$defaultAction публичное свойство

public $defaultAction