PHP 클래스 skeeks\cms\relatedProperties\PropertyType

상속: extends yii\base\Model, implements skeeks\cms\base\ConfigFormInterface
파일 보기 프로젝트 열기: skeeks-cms/cms 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$activeForm yii\widgets\ActiveForm Object form which will be completed item
$code TODO: It may be deprecated @version > 3.0.2
$id string
$name string The name of the handler
$property skeeks\cms\relatedProperties\models\RelatedPropertyModel Object properties is bound to the current handler

공개 메소드들

메소드 설명
addRules ( ) Adding validation rules to the object RelatedPropertiesModel
beforeDeleteValue ( ) Fires before the removal of the property value of the element base
beforeSaveValue ( mixed $value ) : mixed Converting the property value before saving to database
getDefaultValue ( ) : null The default value for this property
getIsMultiple ( ) : boolean From the result of this function will depend on how the property values are stored in the database
getMultiple ( ) : string TODO: is deprecated @version > 3.0.2
getStringValue ( ) : string
initValue ( mixed $valueFromDb ) : mixed Conversion property value received from the database
renderConfigForm ( ActiveForm $form ) The configuration form for the current state of the component settings
renderForActiveForm ( ) : ActiveField Drawing form element

메소드 상세

addRules() 공개 메소드

Adding validation rules to the object RelatedPropertiesModel
public addRules ( )

beforeDeleteValue() 공개 메소드

Fires before the removal of the property value of the element base
public beforeDeleteValue ( )

beforeSaveValue() 공개 메소드

Converting the property value before saving to database
public beforeSaveValue ( mixed $value ) : mixed
$value mixed
리턴 mixed

getDefaultValue() 공개 메소드

The default value for this property
public getDefaultValue ( ) : null
리턴 null

getIsMultiple() 공개 메소드

From the result of this function will depend on how the property values are stored in the database
public getIsMultiple ( ) : boolean
리턴 boolean

getMultiple() 공개 메소드

TODO: is deprecated @version > 3.0.2
public getMultiple ( ) : string
리턴 string

getStringValue() 공개 메소드

public getStringValue ( ) : string
리턴 string

initValue() 공개 메소드

Conversion property value received from the database
public initValue ( mixed $valueFromDb ) : mixed
$valueFromDb mixed
리턴 mixed

renderConfigForm() 공개 메소드

The configuration form for the current state of the component settings
public renderConfigForm ( ActiveForm $form )
$form yii\widgets\ActiveForm

renderForActiveForm() 공개 메소드

Drawing form element
public renderForActiveForm ( ) : ActiveField
리턴 yii\widgets\ActiveField

프로퍼티 상세

$activeForm 공개적으로 프로퍼티

Object form which will be completed item
public ActiveForm,yii\widgets $activeForm
리턴 yii\widgets\ActiveForm

$code 공개적으로 프로퍼티

TODO: It may be deprecated @version > 3.0.2
public $code

$id 공개적으로 프로퍼티

public string $id
리턴 string

$name 공개적으로 프로퍼티

The name of the handler
public string $name
리턴 string

$property 공개적으로 프로퍼티

Object properties is bound to the current handler
public RelatedPropertyModel,skeeks\cms\relatedProperties\models $property
리턴 skeeks\cms\relatedProperties\models\RelatedPropertyModel