mongodb\debug\MongoDbPanel getQueryType()

getQueryType() protected method Returns database query type. protected string getQueryType ( $timing )$timing string Timing procedure string return string Query type such as select, insert, delete, etc.

db\ActiveRecord primaryKey()

primaryKey() public static method Returns the primary key name(s) for this AR class. The default implementation will return the primary key(s) as declared in the DB table that is associated with this AR class. If the DB table does not declare any primary key, you should override this method to return the attributes that you want to use as primary keys for this AR class. Note that an array should be returned even for a table with single primary key. public static string[] primaryKey ( )ret

elasticsearch\Query $highlight

$highlight public property The highlight part of this search query. This is an array that allows to highlight search results on one or more fields. See also http://www.elastic.co/guide/en/elasticsearch/reference/1.x/search-request-highlighting.html. public array $highlight = null

authclient\WeChat defaultName()

defaultName() protected method Generates service name. protected string defaultName ( )return string Service name.

db\DataReader readColumn()

readColumn() public method Returns a single column from the next row of a result set. public mixed readColumn ( $columnIndex )$columnIndex integer Zero-based column index return mixed The column of the current row, false if no more rows available

web\AssetManager $beforeCopy

$beforeCopy public property A PHP callback that is called before copying each sub-directory or file. This option is used only when publishing a directory. If the callback returns false, the copy operation for the sub-directory or file will be cancelled. The signature of the callback should be: function ($from, $to), where $from is the sub-directory or file to be copied from, while $to is the copy target. This is passed as a parameter beforeCopy to yii\helpers\FileHelper::copyDirectory(). p

helpers\BaseConsole moveCursorTo()

moveCursorTo() public static method Moves the cursor to an absolute position given as column and row by sending ANSI control code CUP or CHA to the terminal. public static void moveCursorTo ( $column, $row = null )$column integer 1-based column number, 1 is the left edge of the screen. $row integer|null 1-based row number, 1 is the top edge of the screen. if not set, will move cursor only in current line.

web\ViewAction $layout

$layout public property The name of the layout to be applied to the requested view. This will be assigned to yii\base\Controller::$layout before the view is rendered. Defaults to null, meaning the controller's layout will be used. If false, no layout will be applied. public mixed $layout = null

gii\generators\form\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\Menu isItemActive()

isItemActive() protected method Checks whether a menu item is active. This is done by checking if $route and $params match that specified in the url option of the menu item. When the url option of a menu item is specified in terms of an array, its first element is treated as the route for the item and the rest of the elements are the associated parameters. Only when its route and parameters match $route and $params, respectively, will a menu item be considered active. protected boolean is