sphinx\QueryBuilder buildBetweenCondition()

buildBetweenCondition() public method Creates an SQL expressions with the BETWEEN operator. public string buildBetweenCondition ( $indexes, $operator, $operands, &$params )$indexes yii\sphinx\IndexSchema[] List of indexes, which affected by query $operator string The operator to use (e.g. BETWEEN or NOT BETWEEN) $operands array The first operand is the column name. The second and third operands describe the interval that column value should be in. $params array The binding par

mongodb\rbac\Role $parents

$parents public property List of parent item names. public array|null $parents = null

validators\DateValidator $tooBig

$tooBig public property (available since version 2.0.4) User-defined error message used when the value is bigger than $max. public string $tooBig = null

widgets\LinkPager $options

$options public property HTML attributes for the pager container tag. See also yii\helpers\Html::renderTagAttributes() for details on how attributes are being rendered. public array $options = ['class' => 'pagination']

web\AssetBundle $css

$css public property List of CSS files that this bundle contains. Each CSS file can be specified in one of the three formats as explained in $js. Note that only a forward slash "/" should be used as directory separator. public array $css = []

validators\CompareValidator 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 ( $value )$value mixed The data value to be validated. 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 withou

db\QueryBuilder insert()

insert() public method Creates an INSERT SQL statement. For example, $sql = $queryBuilder->insert('user', [ 'name' => 'Sam', 'age' => 30, ], $params); The method will properly escape the table and column names. public string insert ( $table, $columns, &$params )$table string The table that new rows will be inserted into. $columns array The column data (name => value) to be inserted into the table. $params array The binding parameters that will be generated by

Data widgets

DetailView ListView GridView Further reading Yii provides a set of widgets that can be used to display data. While the DetailView widget can be used to display data for a single record, ListView and GridView can be used to display a list or table of data records providing features like pagination, sorting and filtering. DetailView The DetailView widget displays the details of a single data model. It is best used for displaying a model in a regular format (e.g. each model attribute is dis

helpers\BaseStringHelper truncateWords()

truncateWords() public static method Truncates a string to the number of words specified. public static string truncateWords ( $string, $count, $suffix = '...', $asHtml = false )$string string The string to truncate. $count integer How many words from original string to include into truncated string. $suffix string String to append to the end of truncated string. $asHtml boolean Whether to treat the string being truncated as HTML and preserve proper HTML tags. This parameter is ava

gii\generators\model\Generator $generateLabelsFromComments

$generateLabelsFromComments public property public $generateLabelsFromComments = false