PHP 클래스 Producer

상속: extends yupe\models\YModel
파일 보기 프로젝트 열기: yupe/yupe 1 사용 예제들

공개 메소드들

메소드 설명
attributeLabels ( ) : array
behaviors ( ) : array
getAll ( integer $limit, string $order = 'sort ASC' ) : mixed Get all brands
getAllDataProvider ( ) : CActiveDataProvider Get all brands
getBySlug ( $slug ) : null | Producer Get producer by slug
getFormattedList ( ) : array
getStatusList ( ) : array
getStatusTitle ( ) : string
model ( string $className = __CLASS__ ) : Producer 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

메소드 상세

attributeLabels() 공개 메소드

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

behaviors() 공개 메소드

public behaviors ( ) : array
리턴 array

getAll() 공개 메소드

Get all brands
public getAll ( integer $limit, string $order = 'sort ASC' ) : mixed
$limit integer
$order string
리턴 mixed

getAllDataProvider() 공개 메소드

Get all brands
public getAllDataProvider ( ) : CActiveDataProvider
리턴 CActiveDataProvider

getBySlug() 공개 메소드

Get producer by slug
public getBySlug ( $slug ) : null | Producer
$slug
리턴 null | Producer

getFormattedList() 공개 메소드

public getFormattedList ( ) : array
리턴 array

getStatusList() 공개 메소드

public getStatusList ( ) : array
리턴 array

getStatusTitle() 공개 메소드

public getStatusTitle ( ) : string
리턴 string

model() 공개 정적인 메소드

Please note that you should have this exact method in all your CActiveRecord descendants!
public static model ( string $className = __CLASS__ ) : Producer
$className string active record class name.
리턴 Producer the static model class

relations() 공개 메소드

public relations ( ) : array
리턴 array

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