PHP Класс ActiveRecord

All Model classes for this application should extend from this base class.
Автор: Fred ([email protected])
Наследование: extends CActiveRecord
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
defaultScope ( ) : array Returns the default named scope that should be implicitly applied to all queries for this model.
delete ( ) : boolean Deletes the row corresponding to this active record.
hardDelete ( ) : boolean Hard deletes the record.

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

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

Returns the default named scope that should be implicitly applied to all queries for this model.
public defaultScope ( ) : array
Результат array the query criteria.

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

Deletes the row corresponding to this active record.
public delete ( ) : boolean
Результат boolean whether the deletion is successful.

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

Hard deletes the record.
public hardDelete ( ) : boolean
Результат boolean whether the deletion is successful.