PHP Class skeeks\cms\relatedProperties\userPropertyTypes\UserPropertyTypeDate

Inheritance: extends skeeks\cms\relatedProperties\PropertyType
Exibir arquivo Open project: skeeks-cms/cms Class Usage Examples

Public Properties

Property Type Description
$code
$name
$type * static public $types = [ \kartik\datecontrol\DateControl::FORMAT_DATETIME => 'Дата и время', \kartik\datecontrol\DateControl::FORMAT_DATE => 'Только дата', \kartik\datecontrol\DateControl::FORMAT_TIME => 'Только время', ];

Public Methods

Method Description
attributeLabels ( )
init ( )
renderConfigForm ( ActiveForm $activeForm ) : string
renderForActiveForm ( ) : ActiveField
rules ( )
types ( )

Method Details

attributeLabels() public method

public attributeLabels ( )

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 ( )

types() public static method

public static types ( )

Property Details

$code public_oe property

public $code

$name public_oe property

public $name

$type public_oe property

* static public $types = [ \kartik\datecontrol\DateControl::FORMAT_DATETIME => 'Дата и время', \kartik\datecontrol\DateControl::FORMAT_DATE => 'Только дата', \kartik\datecontrol\DateControl::FORMAT_TIME => 'Только время', ];
public $type