PHP Trait kartik\builder\FormTrait

Since: 1.0
Author: Kartik Visweswaran ([email protected])
Afficher le fichier Open project: kartik-v/yii2-builder

Méthodes protégées

Méthode Description
checkBaseConfig ( ) Checks base configuration and throws a configuration exception if invalid.
checkFormConfig ( ) Checks the form configuration and throws a configuration exception if invalid.
hasModel ( ) : boolean Check if a valid model is set for the object instance.

Method Details

checkBaseConfig() protected méthode

Checks base configuration and throws a configuration exception if invalid.
protected checkBaseConfig ( )

checkFormConfig() protected méthode

Checks the form configuration and throws a configuration exception if invalid.
protected checkFormConfig ( )

hasModel() protected méthode

Check if a valid model is set for the object instance.
protected hasModel ( ) : boolean
Résultat boolean whether there is a valid model set.