PHP Class schmunk42\giiant\helpers\SaveForm

Mostrar archivo Open project: schmunk42/yii2-giiant Class Usage Examples

Public Properties

Property Type Description
$savedFormList

Public Methods

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

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

getSavedFormsJs() public static method

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

getSavedFormsListbox() public static method

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

hint() public static method

public static hint ( )

jsFillForm() public static method

public static jsFillForm ( )

loadSavedForms() public static method

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

Property Details

$savedFormList public_oe static_oe property

public static $savedFormList