base\Model generateAttributeLabel()

generateAttributeLabel() public method Generates a user friendly attribute label based on the give attribute name. This is done by replacing underscores, dashes and dots with blanks and changing the first letter of each word to upper case. For example, 'department_name' or 'DepartmentName' will generate 'Department Name'. public string generateAttributeLabel ( $name )$name string The column name return string The attribute label

console\Controller stdout()

stdout() public method Prints a string to STDOUT You may optionally format the string with ANSI codes by passing additional parameters using the constants defined in yii\helpers\Console. Example: $this->stdout('This will be red and underlined.', Console::FG_RED, Console::UNDERLINE); public integer|boolean stdout ( $string )$string string The string to print return integer|boolean Number of bytes printed or false on error

mongodb\Command $writeConcern

$writeConcern public property Write concern to be used in this command. public \MongoDB\Driver\WriteConcern|null getWriteConcern ( )public $this setWriteConcern ( $writeConcern )

validators\ImageValidator validateValue()

validateValue() protected method Validates a value. A validator class can implement this method to support data validation out of the context of a data model. protected array|null validateValue ( $file )$file return array|null The error message and the parameters to be inserted into the error message. Null should be returned if the data is valid. throws yii\base\NotSupportedException if the validator does not supporting data validation without a model

sphinx\ColumnSchema typecast()

typecast() protected method (available since version 2.0.3) Converts the input value according to $phpType after retrieval from the database. If the value is null or an yii\db\Expression, it will not be converted. protected mixed typecast ( $value )$value mixed Input value return mixed Converted value

sphinx\Schema isReadQuery()

isReadQuery() public method Returns a value indicating whether a SQL statement is for read purpose. public boolean isReadQuery ( $sql )$sql string The SQL statement return boolean Whether a SQL statement is for read purpose.

sphinx\QueryBuilder buildLimit()

buildLimit() public method public string buildLimit ( $limit, $offset )$limit integer $offset integer return string The LIMIT and OFFSET clauses built from \yii\sphinx\query.

mongodb\file\Download $collection

$collection public property File collection to be used. public yii\mongodb\file\Collection $collection = null

helpers\BaseHtml radio()

radio() public static method Generates a radio button input. public static string radio ( $name, $checked = false, $options = [] )$name string The name attribute. $checked boolean Whether the radio button should be checked. $options array The tag options in terms of name-value pairs. See booleanInput() for details about accepted attributes. return string The generated radio button tag

validators\BooleanValidator clientValidateAttribute()

clientValidateAttribute() public method Returns the JavaScript needed for performing client-side validation. You may override this method to return the JavaScript validation code if the validator can support client-side validation. The following JavaScript variables are predefined and can be used in the validation code: attribute: an object describing the the attribute being validated. value: the value being validated. messages: an array used to hold the validation error messages for the