PHP 클래스 ActiveRecord

All Model classes for this application should extend from this base class.
저자: Fred ([email protected])
상속: extends CActiveRecord
파일 보기 프로젝트 열기: crisu83/yii-app 1 사용 예제들

공개 메소드들

메소드 설명
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.