PHP 클래스 News

파일 보기 프로젝트 열기: yupe/yupe 1 사용 예제들

공개 메소드들

메소드 설명
afterDelete ( )
afterFind ( )
afterSave ( )
attributeLabels ( ) : array
beforeSave ( ) : boolean
beforeValidate ( ) : boolean
behaviors ( ) : array
category ( $category_id )
getCategoryName ( ) : string
getFlag ( ) : string
getProtectedStatus ( ) : mixed | string
getProtectedStatusList ( ) : array
getStatus ( ) : mixed | string
getStatusList ( ) : array
isProtected ( ) : boolean
language ( $lang )
last ( $num )
model ( string $className = __CLASS__ ) : News Returns the static model of the specified AR class.
relations ( ) : array
rules ( ) : array
scopes ( ) : array
search ( ) : CActiveDataProvider Retrieves a list of models based on the current search/filter conditions.
tableName ( ) : string

메소드 상세

afterDelete() 공개 메소드

public afterDelete ( )

afterFind() 공개 메소드

public afterFind ( )

afterSave() 공개 메소드

public afterSave ( )

attributeLabels() 공개 메소드

public attributeLabels ( ) : array
리턴 array customized attribute labels (name=>label)

beforeSave() 공개 메소드

public beforeSave ( ) : boolean
리턴 boolean

beforeValidate() 공개 메소드

public beforeValidate ( ) : boolean
리턴 boolean

behaviors() 공개 메소드

public behaviors ( ) : array
리턴 array

category() 공개 메소드

public category ( $category_id )
$category_id

getCategoryName() 공개 메소드

public getCategoryName ( ) : string
리턴 string

getFlag() 공개 메소드

public getFlag ( ) : string
리턴 string

getProtectedStatus() 공개 메소드

public getProtectedStatus ( ) : mixed | string
리턴 mixed | string

getProtectedStatusList() 공개 메소드

public getProtectedStatusList ( ) : array
리턴 array

getStatus() 공개 메소드

public getStatus ( ) : mixed | string
리턴 mixed | string

getStatusList() 공개 메소드

public getStatusList ( ) : array
리턴 array

isProtected() 공개 메소드

public isProtected ( ) : boolean
리턴 boolean

language() 공개 메소드

public language ( $lang )
$lang

last() 공개 메소드

public last ( $num )
$num

model() 공개 정적인 메소드

Returns the static model of the specified AR class.
public static model ( string $className = __CLASS__ ) : News
$className string
리턴 News the static model class

relations() 공개 메소드

public relations ( ) : array
리턴 array relational rules.

rules() 공개 메소드

public rules ( ) : array
리턴 array validation rules for model attributes.

scopes() 공개 메소드

public scopes ( ) : array
리턴 array

tableName() 공개 메소드

public tableName ( ) : string
리턴 string the associated database table name