gii\generators\controller\Generator stickyAttributes()

stickyAttributes() public method Returns the list of sticky attributes. A sticky attribute will remember its value and will initialize the attribute with this value when the generator is restarted. public array stickyAttributes ( )return array List of sticky attributes

elasticsearch\Query each()

each() public method (available since version 2.0.4) Starts a batch query and retrieves data row by row. This method is similar to batch() except that in each iteration of the result, only one row of data is returned. For example, $query = (new Query)->from('user'); foreach ($query->each() as $row) { } public yii\elasticsearch\BatchQueryResult each ( $scrollWindow = '1m', $db = null )$scrollWindow string How long Elasticsearch should keep the search context alive, in time units $

filters\PageCache init()

init() public method Initializes the object. This method is invoked at the end of the constructor after the object is initialized with the given configuration. public void init ( )

data\Sort $urlManager

$urlManager public property The URL manager used for creating sort URLs. If not set, the urlManager application component will be used. public yii\web\UrlManager $urlManager = null

grid\Column $grid

$grid public property The grid view object that owns this column. public yii\grid\GridView $grid = null

i18n\GettextMessageSource $useBigEndian

$useBigEndian public property public boolean $useBigEndian = false

elasticsearch\QueryBuilder buildCondition()

buildCondition() public method Parses the condition specification and generates the corresponding SQL expression. public string buildCondition ( $condition )$condition string|array The condition specification. Please refer to yii\elasticsearch\Query::where() on how to specify a condition. return string The generated SQL expression throws yii\base\InvalidParamException if unknown operator is used in query throws yii\base\NotSupportedException if string conditions are used in where

mongodb\rbac\MongoDbManager checkAccess()

checkAccess() public method public void checkAccess ( $userId, $permissionName, $params = [] )$userId $permissionName $params

mongodb\Command dropDatabase()

dropDatabase() public method Drops database associated with this command. public boolean dropDatabase ( )return boolean Whether operation was successful.

mutex\FileMutex getLockFilePath()

getLockFilePath() protected method (available since version 2.0.10) Generate path for lock file. protected string getLockFilePath ( $name )$name string