PHP 클래스 mirocow\eav\EavModel

상속: extends yii\base\DynamicModel
파일 보기 프로젝트 열기: mirocow/yii2-eav 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$activeForm yii\widgets\ActiveForm
$attribute string
$entityModel yii\db\ActiveRecord
$handlers mirocow\eav\widgets\AttributeHandler[]
$valueClass Class to use for storing data

공개 메소드들

메소드 설명
__set ( $name, $value )
__toString ( )
create ( array $params ) : static Constructor for creating form model from entity object
formName ( )
getAttributeLabels ( )
getValue ( )
save ( $runValidation = true, $attributes = null )
setLabel ( $name, $label )

보호된 메소드들

메소드 설명
getModelShortName ( $model )

메소드 상세

__set() 공개 메소드

public __set ( $name, $value )

__toString() 공개 메소드

public __toString ( )

create() 공개 정적인 메소드

Constructor for creating form model from entity object
public static create ( array $params ) : static
$params array
리턴 static

formName() 공개 메소드

public formName ( )

getAttributeLabels() 공개 메소드

public getAttributeLabels ( )

getModelShortName() 보호된 정적인 메소드

protected static getModelShortName ( $model )

getValue() 공개 메소드

public getValue ( )

save() 공개 메소드

public save ( $runValidation = true, $attributes = null )

setLabel() 공개 메소드

public setLabel ( $name, $label )

프로퍼티 상세

$activeForm 공개적으로 프로퍼티

public ActiveForm,yii\widgets $activeForm
리턴 yii\widgets\ActiveForm

$attribute 공개적으로 프로퍼티

public string $attribute
리턴 string

$entityModel 공개적으로 프로퍼티

public ActiveRecord,yii\db $entityModel
리턴 yii\db\ActiveRecord

$handlers 공개적으로 프로퍼티

public AttributeHandler[],mirocow\eav\widgets $handlers
리턴 mirocow\eav\widgets\AttributeHandler[]

$valueClass 공개적으로 프로퍼티

Class to use for storing data
public $valueClass