/** * @inheritdoc */ public function init() { $stickyAttributes = $this->model->stickyAttributes(); if (in_array($this->attribute, $stickyAttributes)) { $this->sticky(); } $hints = $this->model->hints(); if (isset($hints[$this->attribute])) { $this->hint($hints[$this->attribute]); } $autoCompleteData = $this->model->autoCompleteData(); if (isset($autoCompleteData[$this->attribute])) { if (is_callable($autoCompleteData[$this->attribute])) { $this->autoComplete(call_user_func($autoCompleteData[$this->attribute])); } else { $this->autoComplete($autoCompleteData[$this->attribute]); } } }
/** * @inheritdoc */ public function stickyAttributes() { return array_merge(parent::stickyAttributes(), ['viewPath', 'scenarioName']); }
/** * @inheritdoc */ public function stickyAttributes() { return array_merge(parent::stickyAttributes(), ['baseControllerClass', 'indexWidgetType']); }
public function stickyAttributes() { return ArrayHelper::merge(parent::stickyAttributes(), ['db', 'migrationPath']); }
/** * @inheritdoc */ public function stickyAttributes() { return array_merge(parent::stickyAttributes(), ['ns', 'db', 'baseClass', 'generateRelations', 'generateLabelsFromComments']); }
/** * @inheritdoc */ public function stickyAttributes() { return array_merge(parent::stickyAttributes(), ['db', 'migrationPath', 'usePrefix', 'tableIgnore']); }
public function stickyAttributes() { return array_merge(parent::stickyAttributes(), ['moduleDir']); }
/** * @inheritdoc */ public function stickyAttributes() { return array_merge(parent::stickyAttributes(), ['migrationPath', 'db', 'useTablePrefix', 'tableOptions', 'useSafe', 'migrationDataType', 'dropTable']); }
/** * @inheritdoc */ public function stickyAttributes() { return array_merge(parent::stickyAttributes(), ['db', 'templatePath', 'tableIgnore']); }
/** * @inheritdoc */ public function stickyAttributes() { return array_merge(parent::stickyAttributes(), ['ns', 'db', 'baseClass']); }
/** * @inheritdoc */ public function stickyAttributes() { return array_merge(parent::stickyAttributes(), ['db', 'skippedColumns', 'hiddenColumns', 'nameAttribute', 'nsModel', 'nsSearchModel', 'nsController', 'nsTraits', 'baseModelClass', 'queryNs', 'queryBaseClass', 'optimisticLock', 'createdBy', 'updatedBy', 'deletedBy', 'createdAt', 'timestampValue', 'updatedAt', 'deletedAt', 'blameableValue', 'UUIDColumn', 'baseControllerClass', 'indexWidgetType', 'viewPath']); }
/** * @inheritdoc */ public function stickyAttributes() { return array_merge(parent::stickyAttributes(), ['fixtureNs', 'dataPath']); }
/** * @inheritdoc */ public function stickyAttributes() { return array_merge(parent::stickyAttributes(), ['baseModelClass']); }
/** * @inheritdoc */ public function stickyAttributes() { return ArrayHelper::merge(parent::stickyAttributes(), ['indexFormat', 'foreignKeyFormat', 'migrationPath', 'db', 'baseClass']); }
/** * @inheritdoc */ public function stickyAttributes() { return array_merge(parent::stickyAttributes(), ['ns', 'db', 'baseClass', 'generateRelations', 'generateLabelsFromComments', 'queryNs', 'queryBaseClass', 'addingI18NStrings', 'messagesPaths', 'imagesPath', 'imagesDomain']); }
/** * @inheritdoc */ public function stickyAttributes() { return array_merge(parent::stickyAttributes(), ['migrationPath', 'db', 'generateRelations', 'useTablePrefix']); }
/** * @inheritdoc */ public function stickyAttributes() { return array_merge(parent::stickyAttributes(), ['ns', 'layoutsPath']); }