Class lispa\amos\core\giiamos\crud\Generator

Inheritancelispa\amos\core\giiamos\crud\Generator » schmunk42\giiant\generators\crud\Generator

Property Details

$campiIndex public property

Array dei campi da visualizzare nella index

public array $campiIndex = []
$descriptiveNameModule public property
$formTabs public property
public $formTabs null
$formTabsFieldSeparator public property
$formTabsSeparator public property
public $formTabsSeparator '|'
$mmRelations public property

Array delle relazioni M2M

public array $mmRelations = []
$ordinalFields public property
public array $ordinalFields = []
$providerList public property
public $providerList 'lispa\amos\core\giiamos\crud\providers\CallbackProvider,
                            lispa\amos\core\giiamos\crud\providers\DateTimeProvider,
                            lispa\amos\core\giiamos\crud\providers\EditorProvider,
                            lispa\amos\core\giiamos\crud\providers\OptsProvider,
                            lispa\amos\core\giiamos\crud\providers\RelationProvider'
$tabsFieldList public property
public $tabsFieldList = []
$template public property
public $template 'default'
$templates public property
public $templates = ['default' => '@vendor/lispa/amos-core/giiamos/crud/default''wizard' => '@vendor/lispa/amos-core/giiamos/crud/wizard']

Method Details

addTranslation() public static method

public static boolean addTranslation ( $module, $slug, $text )
$module
$slug
$text
attributeLabels() public method

public void attributeLabels ( )
checkIsArray() public method

public void checkIsArray ( )
generate() public method

public void generate ( )
generateActionParamComments() public method

Generates parameter tags for phpdoc

public array generateActionParamComments ( )
return array

Parameter tags for phpdoc

getAttributesTab() public method

public array getAttributesTab ( $tabCode )
$tabCode
return array

Model column names

getDescription() public method

public void getDescription ( )
getFormTabsAsArray() public method

public array getFormTabsAsArray ( )
return array

Model column names

getName() public method

public void getName ( )
getTableSchema() public method

Returns table schema for current model class or false if it is not an active record

public boolean|yii\db\TableSchema getTableSchema ( )
getTranslations() public static method

public static array getTranslations ( $module )
$module
hints() public method

public void hints ( )
requiredTemplates() public method

public void requiredTemplates ( )
rules() public method

public void rules ( )
stickyAttributes() public method

public void stickyAttributes ( )