rbac\PhpManager getRule()

getRule() public method Returns the rule of the specified name. public null|yii\rbac\Rule getRule ( $name )$name string The rule name return null|yii\rbac\Rule The rule object, or null if the specified name does not correspond to a rule.

helpers\BaseArrayHelper isAssociative()

isAssociative() public static method Returns a value indicating whether the given array is an associative array. An array is associative if all its keys are strings. If $allStrings is false, then an array will be treated as associative if at least one of its keys is a string. Note that an empty array will NOT be considered associative. public static boolean isAssociative ( $array, $allStrings = true )$array array The array being checked $allStrings boolean Whether the array keys must b

helpers\BaseJson decode()

decode() public static method Decodes the given JSON string into a PHP data structure. public static mixed decode ( $json, $asArray = true )$json string The JSON string to be decoded $asArray boolean Whether to return objects in terms of associative arrays. return mixed The PHP data throws yii\base\InvalidParamException if there is any decoding error

web\Request setScriptFile()

setScriptFile() public method Sets the entry script file path. The entry script file path normally can be obtained from $_SERVER['SCRIPT_FILENAME']. If your server configuration does not return the correct value, you may configure this property to make it right. public void setScriptFile ( $value )$value string The entry script file path.

elasticsearch\ActiveRecord arrayAttributes()

arrayAttributes() public method A list of attributes that should be treated as array valued when retrieved through yii\elasticsearch\ActiveQuery::fields(). If not listed by this method, attributes retrieved through yii\elasticsearch\ActiveQuery::fields() will converted to a scalar value when the result array contains only one value. public string[] arrayAttributes ( )return string[] List of attribute names. Must be a subset of attributes().

debug\components\TimelineDataProvider prepareModels()

prepareModels() protected method Prepares the data models that will be made available in the current page. protected array prepareModels ( )return array The available data models

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

base\Security pbkdf2()

pbkdf2() public method Derives a key from the given password using the standard PBKDF2 algorithm. Implements HKDF2 specified in RFC 2898 Recommend use one of the SHA-2 hash algorithms: sha224, sha256, sha384 or sha512. public string pbkdf2 ( $algo, $password, $salt, $iterations, $length = 0 )$algo string A hash algorithm supported by hash_hmac(), e.g. 'SHA-256' $password string The source password $salt string The random salt $iterations integer The number of iterations of the hash

web\Request getIsFlash()

getIsFlash() public method Returns whether this is an Adobe Flash or Flex request. public boolean getIsFlash ( )return boolean Whether this is an Adobe Flash or Adobe Flex request.

web\Request getIsPut()

getIsPut() public method Returns whether this is a PUT request. public boolean getIsPut ( )return boolean Whether this is a PUT request.