helpers\BaseConsole scrollDown()

scrollDown() public static method Scrolls whole page down by sending ANSI control code SD to the terminal. New lines are added at the top. This is not supported by ANSI.SYS used in windows. public static void scrollDown ( $lines = 1 )$lines integer Number of lines to scroll down

mongodb\gii\model\Generator generateClassName()

generateClassName() protected method Generates a class name from the specified collection name. protected string generateClassName ( $collectionName )$collectionName string The collection name (which may contain schema prefix) return string The generated class name

grid\DataColumn $label

$label public property Label to be displayed in the header cell and also to be used as the sorting link label when sorting is enabled for this column. If it is not set and the models provided by the GridViews data provider are instances of yii\db\ActiveRecord, the label will be determined using yii\db\ActiveRecord::getAttributeLabel(). Otherwise yii\helpers\Inflector::camel2words() will be used to get a label. public string $label = null

web\AssetManager $linkAssets

$linkAssets public property Whether to use symbolic link to publish asset files. Defaults to false, meaning asset files are copied to $basePath. Using symbolic links has the benefit that the published assets will always be consistent with the source assets and there is no copy operation required. This is especially useful during development. However, there are special requirements for hosting environments in order to use symbolic links. In particular, symbolic links are supported only on Li

debug\panels\AssetPanel $detail

$detail public read-only property Content that is displayed in debugger detail view public string getDetail ( )

rbac\PhpManager invalidateScriptCache()

invalidateScriptCache() protected method (available since version 2.0.9) Invalidates precompiled script cache (such as OPCache or APC) for the given file. protected void invalidateScriptCache ( $file )$file string The file path.

mongodb\Collection find()

find() public method Returns a cursor for the search results. In order to perform "find" queries use yii\mongodb\Query class. See also yii\mongodb\Query. public \MongoDB\Driver\Cursor find ( $condition = [], $fields = [], $options = [] )$condition array Query condition $fields array Fields to be selected $options array Query options (available since 2.1). return \MongoDB\Driver\Cursor Cursor for the search results

base\Model offsetExists()

offsetExists() public method Returns whether there is an element at the specified offset. This method is required by the SPL interface ArrayAccess. It is implicitly called when you use something like isset($model[$offset]). public boolean offsetExists ( $offset )$offset mixed The offset to check on. return boolean Whether or not an offset exists.

web\User setReturnUrl()

setReturnUrl() public method Remembers the URL in the session so that it can be retrieved back later by getReturnUrl(). public void setReturnUrl ( $url )$url string|array The URL that the user should be redirected to after login. If an array is given, yii\web\UrlManager::createUrl() will be called to create the corresponding URL. The first element of the array should be the route, and the rest of the name-value pairs are GET parameters used to construct the URL. For example, ['admin/in

db\QueryTrait filterCondition()

filterCondition() protected method Removes empty operands from the given query condition. protected array filterCondition ( $condition )$condition array The original condition return array The condition with empty operands removed. throws yii\base\NotSupportedException if the condition operator is not supported