elasticsearch\Connection httpRequest()

httpRequest() protected method Performs HTTP request protected mixed httpRequest ( $method, $url, $requestBody = null, $raw = false )$method string Method name $url string URL $requestBody string Request body $raw boolean If response body contains JSON and should be decoded return mixed If request failed throws yii\elasticsearch\Exception if request failed throws yii\base\InvalidConfigException

db\sqlite\QueryBuilder addForeignKey()

addForeignKey() public method Builds a SQL statement for adding a foreign key constraint to an existing table. The method will properly quote the table and column names. public string addForeignKey ( $name, $table, $columns, $refTable, $refColumns, $delete = null, $update = null )$name string The name of the foreign key constraint. $table string The table that the foreign key constraint will be added to. $columns string|array The name of the column to that the constraint will be ad

sphinx\QueryBuilder buildSelect()

buildSelect() public method public string buildSelect ( $columns, &$params, $distinct = false, $selectOption = null )$columns array $params array The binding parameters to be populated $distinct boolean $selectOption string return string The SELECT clause built from \yii\sphinx\query.

gii\generators\model\Generator requiredTemplates()

requiredTemplates() public method Returns a list of code template files that are required. Derived classes usually should override this method if they require the existence of certain template files. public array requiredTemplates ( )return array List of code template files that are required. They should be file paths relative to $templatePath.

db\TableSchema $schemaName

$schemaName public property The name of the schema that this table belongs to. public string $schemaName = null

grid\Column renderDataCell()

renderDataCell() public method Renders a data cell. public string renderDataCell ( $model, $key, $index )$model mixed The data model being rendered $key mixed The key associated with the data model $index integer The zero-based index of the data item among the item array returned by yii\grid\GridView::$dataProvider. return string The rendering result

db\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

helpers\BaseHtml activeListBox()

activeListBox() public static method Generates a list box. The selection of the list box is taken from the value of the model attribute. public static string activeListBox ( $model, $attribute, $items, $options = [] )$model yii\base\Model The model object $attribute string The attribute name or expression. See getAttributeName() for the format about attribute expression. $items array The option data items. The array keys are option values, and the array values are the corresponding o

jui\Accordion $itemOptions

$itemOptions public property List of HTML attributes for the item container tags. This will be overwritten by the "options" set in individual $items. The following special options are recognized: tag: string, defaults to "div", the tag name of the item container tags. See also yii\helpers\Html::renderTagAttributes() for details on how attributes are being rendered. public array $itemOptions = []

caching\ArrayCache deleteValue()

deleteValue() protected method Deletes a value with the specified key from cache This method should be implemented by child classes to delete the data from actual cache storage. protected boolean deleteValue ( $key )$key string The key of the value to be deleted return boolean If no error happens during deletion