PHP 클래스 Attribute

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

공개 프로퍼티들

프로퍼티 타입 설명
$rawOptions

공개 메소드들

메소드 설명
attributeDescriptions ( ) : array
attributeLabels ( ) : array
behaviors ( ) : array
changeType ( $currentType, $newType ) : boolean
getAttributeByName ( $name ) : null | static
getGroupTitle ( ) : string
getTypeTitle ( $type ) : mixed
getTypes ( ) : array
getTypesList ( ) : array
getYesNoList ( ) : array
isMultipleValues ( ) : boolean
isRequired ( ) : boolean
isType ( $type ) : boolean
model ( null | string $className = __CLASS__ )
relations ( ) : array
rules ( ) : array
search ( ) : CActiveDataProvider Retrieves a list of models based on the current search/filter conditions.
setMultipleValuesAttributes ( array $attributes ) : boolean
setTypes ( array $types ) : boolean
tableName ( ) : string

메소드 상세

attributeDescriptions() 공개 메소드

public attributeDescriptions ( ) : array
리턴 array customized attribute descriptions (name=>description)

attributeLabels() 공개 메소드

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

behaviors() 공개 메소드

public behaviors ( ) : array
리턴 array

changeType() 공개 메소드

public changeType ( $currentType, $newType ) : boolean
$currentType
$newType
리턴 boolean

getAttributeByName() 공개 메소드

public getAttributeByName ( $name ) : null | static
$name
리턴 null | static

getGroupTitle() 공개 메소드

public getGroupTitle ( ) : string
리턴 string

getTypeTitle() 공개 메소드

public getTypeTitle ( $type ) : mixed
$type
리턴 mixed

getTypes() 공개 메소드

public getTypes ( ) : array
리턴 array

getTypesList() 공개 메소드

public getTypesList ( ) : array
리턴 array

getYesNoList() 공개 메소드

public getYesNoList ( ) : array
리턴 array

isMultipleValues() 공개 메소드

public isMultipleValues ( ) : boolean
리턴 boolean

isRequired() 공개 메소드

public isRequired ( ) : boolean
리턴 boolean

isType() 공개 메소드

public isType ( $type ) : boolean
$type
리턴 boolean

model() 공개 정적인 메소드

public static model ( null | string $className = __CLASS__ )
$className null | string

relations() 공개 메소드

public relations ( ) : array
리턴 array

rules() 공개 메소드

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

setMultipleValuesAttributes() 공개 메소드

public setMultipleValuesAttributes ( array $attributes ) : boolean
$attributes array
리턴 boolean

setTypes() 공개 메소드

public setTypes ( array $types ) : boolean
$types array
리턴 boolean

tableName() 공개 메소드

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

프로퍼티 상세

$rawOptions 공개적으로 프로퍼티

public $rawOptions