captcha\CaptchaAction generateValidationHash()

generateValidationHash() public method Generates a hash code that can be used for client-side validation. public string generateValidationHash ( $code )$code string The CAPTCHA code return string A hash code generated from the CAPTCHA code

captcha\CaptchaAction $foreColor

$foreColor public property The font color. For example, 0x55FF00. Defaults to 0x2040A0 (blue color). public integer $foreColor = 2113696

helpers\BaseArrayHelper isIn()

isIn() public static method (available since version 2.0.7) Check whether an array or Traversable contains an element. This method does the same as the PHP function in_array() but additionally works for objects that implement the Traversable interface. See also http://php.net/manual/en/function.in-array.php. public static boolean isIn ( $needle, $haystack, $strict = false )$needle mixed The value to look for. $haystack array|Traversable The set of values to search. $strict boolean

helpers\BaseInflector transliterate()

transliterate() public static method (available since version 2.0.7) Returns transliterated version of a string. If intl extension isn't available uses fallback that converts latin characters only and removes the rest. You may customize characters map via $transliteration property of the helper. public static string transliterate ( $string, $transliterator = null )$string string Input string $transliterator string|\Transliterator Either a \yii\helpers\Transliterator or a string from w

console\controllers\MigrateController optionAliases()

optionAliases() public method (available since version 2.0.8) Returns option alias names. Child classes may override this method to specify alias options. public array optionAliases ( )return array The options alias names valid for the action where the keys is alias name for option and value is option name.

BaseYii setLogger()

setLogger() public static method Sets the logger object. public static void setLogger ( $logger )$logger yii\log\Logger The logger object.

web\MultipartFormDataParser getUploadFileMaxCount()

getUploadFileMaxCount() public method public integer getUploadFileMaxCount ( )return integer Maximum upload files count.

console\controllers\HelpController getCommandDescriptions()

getCommandDescriptions() protected method Returns an array of commands an their descriptions. protected array getCommandDescriptions ( )return array All available commands as keys and their description as values.

elasticsearch\Command updateSettings()

updateSettings() public method (available since version 2.0.4) Change specific index level settings in real time. Note that update analyzers required to \yii\elasticsearch\close() the index first and \yii\elasticsearch\open() it after the changes are made, use updateAnalyzers() for it. See also http://www.elasticsearch.org/guide/en/elasticsearch/reference/current/indices-update-settings.html. public mixed updateSettings ( $index, $setting, $options = [] )$index string $setting string|ar

mongodb\file\ActiveQuery $collection

$collection public read-only property Collection instance. public yii\mongodb\file\Collection getCollection ( $db = null )