PHP Class skeeks\cms\relatedProperties\propertyTypes\PropertyTypeText

Inheritance: extends skeeks\cms\relatedProperties\PropertyType
Mostra file Open project: skeeks-cms/cms Class Usage Examples

Public Properties

Property Type Description
$code
$default_value
$fieldElement *static public $fieldElements = [ 'textarea' => 'Текстовое поле (textarea)', 'textInput' => 'Текстовая строка (input)', ];
$name
$rows

Public Methods

Method Description
addRules ( )
attributeLabels ( )
fieldElements ( )
getDefaultValue ( ) : null
init ( )
renderConfigForm ( ActiveForm $activeForm ) : string
renderForActiveForm ( ) : ActiveField
rules ( )

Method Details

addRules() public method

public addRules ( )

attributeLabels() public method

public attributeLabels ( )

fieldElements() public static method

public static fieldElements ( )

getDefaultValue() public method

public getDefaultValue ( ) : null
return null

init() public method

public init ( )

renderConfigForm() public method

public renderConfigForm ( ActiveForm $activeForm ) : string
$activeForm yii\widgets\ActiveForm
return string

renderForActiveForm() public method

public renderForActiveForm ( ) : ActiveField
return yii\widgets\ActiveField

rules() public method

public rules ( )

Property Details

$code public_oe property

public $code

$default_value public_oe property

public $default_value

$fieldElement public_oe property

*static public $fieldElements = [ 'textarea' => 'Текстовое поле (textarea)', 'textInput' => 'Текстовая строка (input)', ];
public $fieldElement

$name public_oe property

public $name

$rows public_oe property

public $rows