web\UrlManager createUrl()

createUrl() public method Creates a URL using the given route and query parameters. You may specify the route as a string, e.g., site/index. You may also use an array if you want to specify additional query parameters for the URL being created. The array format must be: // generates: /index.php?r=site%2Findex&param1=value1&param2=value2 ['site/index', 'param1' => 'value1', 'param2' => 'value2'] If you want to create a URL with an anchor, you can use the array format with a #

helpers\BaseJson encode()

encode() public static method Encodes the given value into a JSON string. The method enhances json_encode() by supporting JavaScript expressions. In particular, the method will not encode a JavaScript expression that is represented in terms of a yii\web\JsExpression object. public static string encode ( $value, $options = 320 )$value mixed The data to be encoded. $options integer The encoding options. For more details please refer to http://www.php.net/manual/en/function.json-encode.ph

bootstrap\Collapse renderItems()

renderItems() public method Renders collapsible items as specified on $items. public string renderItems ( )return string The rendering result throws yii\base\InvalidConfigException if label isn't specified

db\ActiveRecordInterface attributes()

attributes() public abstract method Returns the list of all attribute names of the record. public abstract array attributes ( )return array List of attribute names.

db\Connection getTransaction()

getTransaction() public method Returns the currently active transaction. public yii\db\Transaction getTransaction ( )return yii\db\Transaction The currently active transaction. Null if no active transaction.

helpers\BaseUrl base()

base() public static method Returns the base URL of the current request. public static string base ( $scheme = false )$scheme boolean|string The URI scheme to use in the returned base URL: false (default): returning the base URL without host info. true: returning an absolute base URL whose scheme is the same as that in yii\web\UrlManager::$hostInfo. string: returning an absolute base URL with the specified scheme (either http or https).

captcha\CaptchaAction getVerifyCode()

getVerifyCode() public method Gets the verification code. public string getVerifyCode ( $regenerate = false )$regenerate boolean Whether the verification code should be regenerated. return string The verification code.

sphinx\Schema findColumns()

findColumns() protected method Collects the metadata of index columns. protected boolean findColumns ( $index )$index yii\sphinx\IndexSchema The index metadata return boolean Whether the index exists in the database throws Exception if DB query fails

mongodb\Migration update()

update() public method Updates the rows, which matches given criteria by given data. Note: for "multiple" mode Mongo requires explicit strategy "$set" or "$inc" to be specified for the "newData". If no strategy is passed "$set" will be used. public integer|boolean update ( $collection, $condition, $newData, $options = [] )$collection array|string Collection name. $condition array Description of the objects to update. $newData array The object with which to update the matching recor

rbac\DbManager getRolesByUser()

getRolesByUser() public method Returns the roles that are assigned to the user via assign(). Note that child roles that are not assigned directly to the user will not be returned. public yii\rbac\Role[] getRolesByUser ( $userId )$userId string|integer The user ID (see yii\web\User::$id) return yii\rbac\Role[] All roles directly assigned to the user. The array is indexed by the role names.