PHP Trait kartik\builder\FormTrait

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

Protected Methods

Method 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 method

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

checkFormConfig() protected method

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

hasModel() protected method

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