PHP Class schmunk42\giiant\helpers\SaveForm

Afficher le fichier Open project: schmunk42/yii2-giiant Class Usage Examples

Méthodes publiques

Свойство Type Description
$savedFormList

Méthodes publiques

Méthode Description
getFormAttributesValues ( $generator, $attributes ) get form attributes values.
getSavedFormsJs ( $generatorName ) : string creata js statement for seting to variable savedFormas array with all forms and it data in json format.
getSavedFormsListbox ( $generatorName ) : array get array for form field "Saved form" data.
hint ( )
jsFillForm ( )
loadSavedForms ( $generatorName ) : array walk througt all modules gii directories and collect Giant crud generator saved forms.

Method Details

getFormAttributesValues() public static méthode

get form attributes values.
public static getFormAttributesValues ( $generator, $attributes )

getSavedFormsJs() public static méthode

creata js statement for seting to variable savedFormas array with all forms and it data in json format.
public static getSavedFormsJs ( $generatorName ) : string
Résultat string

getSavedFormsListbox() public static méthode

get array for form field "Saved form" data.
public static getSavedFormsListbox ( $generatorName ) : array
Résultat array

hint() public static méthode

public static hint ( )

jsFillForm() public static méthode

public static jsFillForm ( )

loadSavedForms() public static méthode

walk througt all modules gii directories and collect Giant crud generator saved forms.
public static loadSavedForms ( $generatorName ) : array
Résultat array

Property Details

$savedFormList public_oe static_oe property

public static $savedFormList