Class lispa\amos\core\giiamos\crud\Generator
Inheritance | lispa\amos\core\giiamos\crud\Generator » schmunk42\giiant\generators\crud\Generator |
---|
Public Properties
Public Methods
Property Details
Array dei campi da visualizzare nella index
Array delle relazioni M2M
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'
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'
public $templates = ['default' => '@vendor/lispa/amos-core/giiamos/crud/default', 'wizard' => '@vendor/lispa/amos-core/giiamos/crud/wizard']
Method Details
public static boolean addTranslation ( $module, $slug, $text ) | ||
$module | ||
$slug | ||
$text |
public void attributeLabels ( ) |
public void checkIsArray ( ) |
public void generate ( ) |
Generates parameter tags for phpdoc
public array generateActionParamComments ( ) | ||
return | array | Parameter tags for phpdoc |
---|
public array getAttributesTab ( $tabCode ) | ||
$tabCode | ||
return | array | Model column names |
---|
public void getDescription ( ) |
public array getFormTabsAsArray ( ) | ||
return | array | Model column names |
---|
public void getName ( ) |
Returns table schema for current model class or false if it is not an active record
public boolean|yii\db\TableSchema getTableSchema ( ) |
public static array getTranslations ( $module ) | ||
$module |
public void hints ( ) |
public void requiredTemplates ( ) |
public void rules ( ) |
public void stickyAttributes ( ) |