PHP Class News

Afficher le fichier Open project: yupe/yupe Class Usage Examples

Méthodes publiques

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

Method Details

afterDelete() public méthode

public afterDelete ( )

afterFind() public méthode

public afterFind ( )

afterSave() public méthode

public afterSave ( )

attributeLabels() public méthode

public attributeLabels ( ) : array
Résultat array customized attribute labels (name=>label)

beforeSave() public méthode

public beforeSave ( ) : boolean
Résultat boolean

beforeValidate() public méthode

public beforeValidate ( ) : boolean
Résultat boolean

behaviors() public méthode

public behaviors ( ) : array
Résultat array

category() public méthode

public category ( $category_id )
$category_id

getCategoryName() public méthode

public getCategoryName ( ) : string
Résultat string

getFlag() public méthode

public getFlag ( ) : string
Résultat string

getProtectedStatus() public méthode

public getProtectedStatus ( ) : mixed | string
Résultat mixed | string

getProtectedStatusList() public méthode

public getProtectedStatusList ( ) : array
Résultat array

getStatus() public méthode

public getStatus ( ) : mixed | string
Résultat mixed | string

getStatusList() public méthode

public getStatusList ( ) : array
Résultat array

isProtected() public méthode

public isProtected ( ) : boolean
Résultat boolean

language() public méthode

public language ( $lang )
$lang

last() public méthode

public last ( $num )
$num

model() public static méthode

Returns the static model of the specified AR class.
public static model ( string $className = __CLASS__ ) : News
$className string
Résultat News the static model class

relations() public méthode

public relations ( ) : array
Résultat array relational rules.

rules() public méthode

public rules ( ) : array
Résultat array validation rules for model attributes.

scopes() public méthode

public scopes ( ) : array
Résultat array

tableName() public méthode

public tableName ( ) : string
Résultat string the associated database table name