i18n\Formatter asParagraphs()

asParagraphs() public method Formats the value as HTML-encoded text paragraphs. Each text paragraph is enclosed within a <p> tag. One or multiple consecutive empty lines divide two paragraphs. public string asParagraphs ( $value )$value string The value to be formatted. return string The formatted result.

console\controllers\AssetController loadDependency()

loadDependency() protected method Loads asset bundle dependencies recursively. protected void loadDependency ( $bundle, &$result )$bundle yii\web\AssetBundle Bundle instance $result array Already loaded bundles list. throws yii\console\Exception on failure.

base\Security encryptByPassword()

encryptByPassword() public method Encrypts data using a password. Derives keys for encryption and authentication from the password using PBKDF2 and a random salt, which is deliberately slow to protect against dictionary attacks. Use encryptByKey() to encrypt fast using a cryptographic key rather than a password. Key derivation time is determined by $derivationIterations, which should be set as high as possible. The encrypted data includes a keyed message authentication code (MAC) so there i

sphinx\Schema quoteColumnName()

quoteColumnName() public method Quotes a column name for use in a query. If the column name contains prefix, the prefix will also be properly quoted. If the column name is already quoted or contains '(', '[[' or '{{', then this method will do nothing. See also quoteSimpleColumnName(). public string quoteColumnName ( $name )$name string Column name return string The properly quoted column name

validators\FilterValidator $skipOnEmpty

$skipOnEmpty public property This property is overwritten to be false so that this validator will be applied when the value being validated is empty. public boolean $skipOnEmpty = false

widgets\InputWidget $model

$model public property The data model that this widget is associated with. public yii\base\Model $model = null

helpers\BaseStringHelper basename()

basename() public static method Returns the trailing name component of a path. This method is similar to the php function basename() except that it will treat both \ and / as directory separators, independent of the operating system. This method was mainly created to work on php namespaces. When working with real file paths, php's basename() should work fine for you. Note: this method is not aware of the actual filesystem, or path components such as "..". See also http://www.php.net/manual/

base\Security generateRandomKey()

generateRandomKey() public method Generates specified number of random bytes. Note that output may not be ASCII. See also generateRandomString() if you need a string. public string generateRandomKey ( $length = 32 )$length integer The number of bytes to generate return string The generated random bytes throws yii\base\InvalidParamException if wrong length is specified throws yii\base\Exception on failure.

helpers\BaseStringHelper dirname()

dirname() public static method Returns parent directory's path. This method is similar to dirname() except that it will treat both \ and / as directory separators, independent of the operating system. See also http://www.php.net/manual/en/function.basename.php. public static string dirname ( $path )$path string A path string. return string The parent directory's path.

mongodb\Query getCollection()

getCollection() public method Returns the Mongo collection for this query. public yii\mongodb\Collection getCollection ( $db = null )$db yii\mongodb\Connection Mongo connection. return yii\mongodb\Collection Collection instance.