gii\generators\form\Generator requiredTemplates()

requiredTemplates() public method Returns a list of code template files that are required. Derived classes usually should override this method if they require the existence of certain template files. public array requiredTemplates ( )return array List of code template files that are required. They should be file paths relative to $templatePath.

authclient\clients\GitHub initUserAttributes()

initUserAttributes() protected method Initializes authenticated user attributes. protected array initUserAttributes ( )return array Auth user attributes.

widgets\LinkSorter $linkOptions

$linkOptions public property (available since version 2.0.6) HTML attributes for the link in a sorter container tag which are passed to yii\data\Sort::link(). See also yii\helpers\Html::renderTagAttributes() for details on how attributes are being rendered. public array $linkOptions = []

filters\Cors headerize()

headerize() protected method Convert any string (including php headers with HTTP prefix) to header format like : X-PINGOTHER -> X-Pingother X_PINGOTHER -> X-Pingother protected string headerize ( $string )$string string String to convert return string The result in "header" format

gii\generators\controller\Generator rules()

rules() public method Returns the validation rules for attributes. Validation rules are used by validate() to check if attribute values are valid. Child classes may override this method to declare different validation rules. Each rule is an array with the following structure: [ ['attribute1', 'attribute2'], 'validator type', 'on' => ['scenario1', 'scenario2'], //...other parameters... ] where attribute list: required, specifies the attributes array to be validated, for s

widgets\ContentDecorator run()

run() public method Ends recording a clip. This method stops output buffering and saves the rendering result as a named clip in the controller. public void run ( )

caching\FileDependency generateDependencyData()

generateDependencyData() protected method Generates the data needed to determine if dependency has been changed. This method returns the file's last modification time. protected mixed generateDependencyData ( $cache )$cache yii\caching\Cache The cache component that is currently evaluating this dependency return mixed The data needed to determine if dependency has been changed. throws yii\base\InvalidConfigException if $fileName is not set

base\Widget $id

$id public property ID of the widget. public string getId ( $autoGenerate = true )public void setId ( $value )

db\Command createTable()

createTable() public method Creates a SQL command for creating a new DB table. The columns in the new table should be specified as name-definition pairs (e.g. 'name' => 'string'), where name stands for a column name which will be properly quoted by the method, and definition stands for the column type which can contain an abstract DB type. The method yii\db\QueryBuilder::getColumnType() will be called to convert the abstract column types to physical ones. For example, string will be conv

gii\generators\model\Generator $tablePrefix

$tablePrefix public read-only property public string getTablePrefix ( )