rbac\ManagerInterface getChildRoles()

getChildRoles() public abstract method (available since version 2.0.10) Returns the roles that are adding to the role via addChild() by recursive. public abstract yii\rbac\Role[] getChildRoles ( $roleName )$roleName string Name of parent Role. return yii\rbac\Role[] All roles directly adding to the role. The array is indexed by the role names. First element is a Role item that are getting by $roleName. throws yii\base\InvalidParamException if Role was not found that are getting by $

validators\ImageValidator validateImage()

validateImage() protected method Validates an image file. protected array|null validateImage ( $image )$image yii\web\UploadedFile Uploaded file passed to check against a set of rules return array|null The error message and the parameters to be inserted into the error message. Null should be returned if the data is valid.

gii\generators\model\Generator generateQueryClassName()

generateQueryClassName() protected method Generates a query class name from the specified model class name. protected string generateQueryClassName ( $modelClassName )$modelClassName string Model class name return string Generated class name

mongodb\file\ActiveQuery all()

all() public method Executes query and returns all results as an array. public array|yii\mongodb\file\ActiveRecord all ( $db = null )$db yii\mongodb\Connection The Mongo connection used to execute the query. If null, the Mongo connection returned by $modelClass will be used. return array|yii\mongodb\file\ActiveRecord The query results. If the query results in nothing, an empty array will be returned.

web\View renderBodyEndHtml()

renderBodyEndHtml() protected method Renders the content to be inserted at the end of the body section. The content is rendered using the registered JS code blocks and files. protected string renderBodyEndHtml ( $ajaxMode )$ajaxMode boolean Whether the view is rendering in AJAX mode. If true, the JS scripts registered at POS_READY and POS_LOAD positions will be rendered at the end of the view like normal scripts. return string The rendered content

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

helpers\BaseFileHelper normalizePath()

normalizePath() public static method Normalizes a file/directory path. The normalization does the following work: Convert all directory separators into DIRECTORY_SEPARATOR (e.g. "\a/b\c" becomes "/a/b/c") Remove trailing directory separators (e.g. "/a/b/c/" becomes "/a/b/c") Turn multiple consecutive slashes into a single one (e.g. "/a///b/c" becomes "/a/b/c") Remove ".." and "." based on their meanings (e.g. "/a/./b/../c" becomes "/a/c") public static string normalizePath ( $path, $ds =

debug\components\TimelineDataProvider prepareModels()

prepareModels() protected method Prepares the data models that will be made available in the current page. protected array prepareModels ( )return array The available data models

web\AssetManager $assetMap

$assetMap public property Mapping from source asset files (keys) to target asset files (values). This property is provided to support fixing incorrect asset file paths in some asset bundles. When an asset bundle is registered with a view, each relative asset file in its css and js arrays will be examined against this map. If any of the keys is found to be the last part of an asset file (which is prefixed with yii\web\AssetBundle::$sourcePath if available), the corresponding value will repla

filters\PageCache $cacheHeaders

$cacheHeaders public property (available since version 2.0.4) A boolean value indicating whether to cache all HTTP headers, or an array of HTTP header names (case-insensitive) indicating which HTTP headers can be cached. Note if your HTTP headers contain sensitive information, you should white-list which headers can be cached. public boolean|array $cacheHeaders = true