Class pheme\settings\SettingsAction

Inheritancepheme\settings\SettingsAction » yii\base\Action

Public Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$modelClass string Class name of the model which will be used to validate the attributes. pheme\settings\SettingsAction
$scenario string The scenario this model should use to make validation pheme\settings\SettingsAction
$viewName string The name of the view to generate the form. pheme\settings\SettingsAction

Public Methods

Hide inherited methods

MethodDescriptionDefined By
run() Render the settings form. pheme\settings\SettingsAction

Property Details

$modelClass public property

Class name of the model which will be used to validate the attributes. The class should have a scenario matching the scenario variable. The model class must implement \Model. This property must be set.

public string $modelClass null
$scenario public property

The scenario this model should use to make validation

public string $scenario null
$viewName public property

The name of the view to generate the form. Defaults to 'settings'.

public string $viewName 'settings'

Method Details

run() public method

Render the settings form.

public void run ( )