mongodb\Query count()

count() public method Returns the number of records. public integer count ( $q = '*', $db = null )$q string Kept to match yii\db\QueryInterface, its value is ignored. $db yii\mongodb\Connection The Mongo connection used to execute the query. If this parameter is not given, the mongodb application component will be used. return integer Number of records throws yii\mongodb\Exception on failure.

debug\Panel getUrl()

getUrl() public method public string getUrl ( $additionalParams = null )$additionalParams null|array Optional additional parameters to add to the route return string URL pointing to panel detail view

helpers\BaseConsole showCursor()

showCursor() public static method Will show a cursor again when it has been hidden by hideCursor() by sending ANSI DECTCEM code ?25h to the terminal. public static void showCursor ( )

web\UrlNormalizer normalizeRoute()

normalizeRoute() public method Performs normalization action for the specified $route. public array normalizeRoute ( $route )$route array Route for normalization return array Normalized route throws yii\base\InvalidConfigException if invalid normalization action is used. throws yii\web\UrlNormalizerRedirectException if normalization requires redirection. throws yii\web\NotFoundHttpException if normalization suggests action matching route does not exist.

mongodb\rbac\MongoDbManager getChildRoles()

getChildRoles() public method (available since version 2.1.2) Returns the roles that are adding to the role via addChild() by recursive. public 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 $roleName

db\mssql\QueryBuilder oldBuildOrderByAndLimit()

oldBuildOrderByAndLimit() protected method Builds the ORDER BY/LIMIT/OFFSET clauses for SQL SERVER 2005 to 2008. protected string oldBuildOrderByAndLimit ( $sql, $orderBy, $limit, $offset )$sql string The existing SQL (without ORDER BY/LIMIT/OFFSET) $orderBy array The order by columns. See \yii\db\mssql\Query::orderBy for more details on how to specify this parameter. $limit integer The limit number. See \yii\db\mssql\Query::limit for more details. $offset integer The offset number

db\Query max()

max() public method Returns the maximum of the specified column values. public mixed max ( $q, $db = null )$q string The column name or expression. Make sure you properly quote column names in the expression. $db yii\db\Connection The database connection used to generate the SQL statement. If this parameter is not given, the db application component will be used. return mixed The maximum of the specified column values.

debug\Module init()

init() public method Initializes the module. This method is called after the module is created and initialized with property values given in configuration. The default implementation will initialize $controllerNamespace if it is not set. If you override this method, please make sure you call the parent implementation. public void init ( )

db\mysql\QueryBuilder dropPrimaryKey()

dropPrimaryKey() public method Builds a SQL statement for removing a primary key constraint to an existing table. public string dropPrimaryKey ( $name, $table )$name string The name of the primary key constraint to be removed. $table string The table that the primary key constraint will be removed from. return string The SQL statement for removing a primary key constraint from an existing table.

helpers\BaseHtml renderTagAttributes()

renderTagAttributes() public static method Renders the HTML tag attributes. Attributes whose values are of boolean type will be treated as boolean attributes. Attributes whose values are null will not be rendered. The values of attributes will be HTML-encoded using encode(). The "data" attribute is specially handled when it is receiving an array value. In this case, the array will be "expanded" and a list data attributes will be rendered. For example, if 'data' => ['id' => 1, 'name' =