mongodb\ActiveRecord toArray()

toArray() public method Converts the model into an array. This method will first identify which fields to be included in the resulting array by calling resolveFields(). It will then turn the model into an array with these fields. If $recursive is true, any embedded objects will also be converted into arrays. If the model implements the \yii\mongodb\Linkable interface, the resulting array will also have a _link element which refers to a list of links as specified by the interface. public a

mongodb\Cache $cacheCollection

$cacheCollection public property The name of the MongoDB collection that stores the cache data. Please refer to yii\mongodb\Connection::getCollection() on how to specify this parameter. This collection is better to be pre-created with fields 'id' and 'expire' indexed. public string|array $cacheCollection = 'cache'

web\UrlManager setHostInfo()

setHostInfo() public method Sets the host info that is used by createAbsoluteUrl() to prepend to created URLs. public void setHostInfo ( $value )$value string The host info (e.g. "http://www.example.com") that is used by createAbsoluteUrl() to prepend to created URLs.

helpers\BaseStringHelper byteLength()

byteLength() public static method Returns the number of bytes in the given string. This method ensures the string is treated as a byte array by using mb_strlen(). public static integer byteLength ( $string )$string string The string being measured for length return integer The number of bytes in the given string.

authclient\clients\YandexOAuth $authUrl

$authUrl public property Authorize URL. Authorize URL. public string $authUrl = 'https://oauth.yandex.ru/authorize'

web\Request $csrfParam

$csrfParam public property The name of the token used to prevent CSRF. Defaults to '_csrf'. This property is used only when $enableCsrfValidation is true. public string $csrfParam = '_csrf'

console\controllers\HelpController getActions()

getActions() public method Returns all available actions of the specified controller. public array getActions ( $controller )$controller yii\console\Controller The controller instance return array All available action IDs.

rest\UrlRule createRule()

createRule() protected method Creates a URL rule using the given pattern and action. protected yii\web\UrlRuleInterface createRule ( $pattern, $prefix, $action )$pattern string $prefix string $action string

mail\MessageInterface setCharset()

setCharset() public abstract method Sets the character set of this message. public abstract $this setCharset ( $charset )$charset string Character set name. return $this Self reference.

base\Controller renderPartial()

renderPartial() public method Renders a view without applying layout. This method differs from render() in that it does not apply any layout. public string renderPartial ( $view, $params = [] )$view string The view name. Please refer to render() on how to specify a view name. $params array The parameters (name-value pairs) that should be made available in the view. return string The rendering result. throws yii\base\InvalidParamException if the view file does not exist.