helpers\BaseInflector camel2id()

camel2id() public static method Converts a CamelCase name into an ID in lowercase. Words in the ID may be concatenated using the specified character (defaults to '-'). For example, 'PostTag' will be converted to 'post-tag'. public static string camel2id ( $name, $separator = '-', $strict = false )$name string The string to be converted $separator string The character used to concatenate the words in the ID $strict boolean|string Whether to insert a separator between two consecutive

sphinx\ActiveQuery __construct()

__construct() public method Constructor. public void __construct ( $modelClass, $config = [] )$modelClass array The model class associated with this query $config array Configurations to be applied to the newly created query object

db\sqlite\QueryBuilder renameColumn()

renameColumn() public method Builds a SQL statement for renaming a column. public string renameColumn ( $table, $oldName, $newName )$table string The table whose column is to be renamed. The name will be properly quoted by the method. $oldName string The old name of the column. The name will be properly quoted by the method. $newName string The new name of the column. The name will be properly quoted by the method. return string The SQL statement for renaming a DB column. throws y

captcha\CaptchaValidator createCaptchaAction()

createCaptchaAction() public method Creates the CAPTCHA action object from the route specified by $captchaAction. public yii\captcha\CaptchaAction createCaptchaAction ( )return yii\captcha\CaptchaAction The action object throws yii\base\InvalidConfigException

log\Logger $messages

$messages public property Logged messages. This property is managed by log() and flush(). Each log message is of the following structure: [ [0] => message (mixed, can be a string or some complex data, such as an exception object) [1] => level (integer) [2] => category (string) [3] => timestamp (float, obtained by microtime(true)) [4] => traces (array, debug backtrace, contains the application code call stacks) ] public array $messages = []

log\Logger $flushInterval

$flushInterval public property How many messages should be logged before they are flushed from memory and sent to targets. Defaults to 1000, meaning the flush() method will be invoked once every 1000 messages logged. Set this property to be 0 if you don't want to flush messages until the application terminates. This property mainly affects how much memory will be taken by the logged messages. A smaller value means less memory, but will increase the execution time due to the overhead of flus

log\Logger getLevelName()

getLevelName() public static method Returns the text display of the specified level. public static string getLevelName ( $level )$level integer The message level, e.g. LEVEL_ERROR, LEVEL_WARNING. return string The text display of the level

base\Application __construct()

__construct() public method Constructor. public void __construct ( $config = [] )$config array Name-value pairs that will be used to initialize the object properties. Note that the configuration must contain both $id and $basePath. throws yii\base\InvalidConfigException if either $id or $basePath configuration is missing.

grid\Column getHeaderCellLabel()

getHeaderCellLabel() protected method (available since version 2.0.8) Returns header cell label. This method may be overridden to customize the label of the header cell. protected string getHeaderCellLabel ( )return string Label

db\Command delete()

delete() public method Creates a DELETE command. For example, $connection->createCommand()->delete('user', 'status = 0')->execute(); The method will properly escape the table and column names. Note that the created command is not executed until execute() is called. public $this delete ( $table, $condition = '', $params = [] )$table string The table where the data will be deleted from. $condition string|array The condition that will be put in the WHERE part. Please refer to