base\Theme getBasePath()

getBasePath() public method See also $pathMap. public string getBasePath ( )return string The root path of this theme. All resources of this theme are located under this directory.

gii\generators\crud\Generator $description

$description public read-only property The detailed description of the generator. public string getDescription ( )

i18n\GettextMoFile load()

load() public method Loads messages from an MO file. public array load ( $filePath, $context )$filePath string File path $context string Message context return array Message translations. Array keys are source messages and array values are translated messages: source message => translated message. throws yii\base\Exception if unable to read the MO file

web\Request createCsrfCookie()

createCsrfCookie() protected method Creates a cookie with a randomly generated CSRF token. Initial values specified in $csrfCookie will be applied to the generated cookie. See also $enableCsrfValidation. protected yii\web\Cookie createCsrfCookie ( $token )$token string The CSRF token return yii\web\Cookie The generated cookie

helpers\BaseHtml decode()

decode() public static method Decodes special HTML entities back to the corresponding characters. This is the opposite of encode(). See also: encode() http://www.php.net/manual/en/function.htmlspecialchars-decode.php public static string decode ( $content )$content string The content to be decoded return string The decoded content

swiftmailer\Message getTo()

getTo() public method Returns the message recipient(s). public array getTo ( )return array The message recipients

base\Module setLayoutPath()

setLayoutPath() public method Sets the directory that contains the layout files. public void setLayoutPath ( $path )$path string The root directory or path alias of layout files. throws yii\base\InvalidParamException if the directory is invalid

helpers\BaseHtml encode()

encode() public static method Encodes special characters into HTML entities. The application charset will be used for encoding. See also: decode() http://www.php.net/manual/en/function.htmlspecialchars.php public static string encode ( $content, $doubleEncode = true )$content string The content to be encoded $doubleEncode boolean Whether to encode HTML entities in $content. If false, HTML entities in $content will not be further encoded. return string The encoded content

caching\WinCache exists()

exists() public method Checks whether a specified key exists in the cache. This can be faster than getting the value from the cache if the data is big. Note that this method does not check whether the dependency associated with the cached data, if there is any, has changed. So a call to get() may return false while exists returns true. public boolean exists ( $key )$key mixed A key identifying the cached value. This can be a simple string or a complex data structure consisting of factors

i18n\PhpMessageSource $basePath

$basePath public property The base path for all translated messages. Defaults to '@app/messages'. public string $basePath = '@app/messages'