db\Command getSql()

getSql() public method Returns the SQL statement for this command. public string getSql ( )return string The SQL statement to be executed

redis\ActiveQuery average()

average() public method Returns the average of the specified column values. public integer average ( $column, $db = null )$column string The column name or expression. Make sure you properly quote column names in the expression. $db yii\redis\Connection The database connection used to execute the query. If this parameter is not given, the db application component will be used. return integer The average of the specified column values.

rbac\DbManager getRule()

getRule() public method Returns the rule of the specified name. public null|yii\rbac\Rule getRule ( $name )$name string The rule name return null|yii\rbac\Rule The rule object, or null if the specified name does not correspond to a rule.

console\controllers\CacheController actionFlushSchema()

actionFlushSchema() public method (available since version 2.0.1) Clears DB schema cache for a given connection component. # clears cache schema specified by component id: "db" yii cache/flush-schema db public integer actionFlushSchema ( $db = 'db' )$db string Id connection component return integer Exit code throws yii\console\Exception throws yii\base\InvalidConfigException

base\Application $errorHandler

$errorHandler public read-only property The error handler application component. public yii\web\ErrorHandler|yii\console\ErrorHandler getErrorHandler ( )

base\Event hasHandlers()

hasHandlers() public static method Returns a value indicating whether there is any handler attached to the specified class-level event. Note that this method will also check all parent classes to see if there is any handler attached to the named event. public static boolean hasHandlers ( $class, $name )$class string|object The object or the fully qualified class name specifying the class-level event. $name string The event name. return boolean Whether there is any handler attached

elasticsearch\Connection populateNodes()

populateNodes() protected method (available since version 2.0.4) Populates $nodes with the result of a cluster nodes request. protected void populateNodes ( )throws yii\elasticsearch\Exception if no active node(s) found

widgets\BaseListView $pager

$pager public property The configuration for the pager widget. By default, yii\widgets\LinkPager will be used to render the pager. You can use a different widget class by configuring the "class" element. Note that the widget must support the pagination property which will be populated with the pagination value of the $dataProvider. public array $pager = []

mongodb\Query fetchRows()

fetchRows() protected method Fetches rows from the given Mongo cursor. protected array|boolean fetchRows ( $cursor, $all = true, $indexBy = null )$cursor \MongoDB\Driver\Cursor Mongo cursor instance to fetch data from. $all boolean Whether to fetch all rows or only first one. $indexBy string|callable The column name or PHP callback, by which the query results should be indexed by. return array|boolean Result. throws yii\mongodb\Exception on failure.

test\ActiveFixture 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 ( )