elasticsearch\Query all()

all() public method Executes the query and returns all results as an array. public array all ( $db = null )$db yii\elasticsearch\Connection The database connection used to execute the query. If this parameter is not given, the elasticsearch application component will be used. return array The query results. If the query results in nothing, an empty array will be returned.

db\Connection $enableSavepoint

$enableSavepoint public property Whether to enable savepoint. Note that if the underlying DBMS does not support savepoint, setting this property to be true will have no effect. public boolean $enableSavepoint = true

rest\Controller serializeData()

serializeData() protected method Serializes the specified data. The default implementation will create a serializer based on the configuration given by $serializer. It then uses the serializer to serialize the given data. protected mixed serializeData ( $data )$data mixed The data to be serialized return mixed The serialized data.

i18n\Formatter asNtext()

asNtext() public method Formats the value as an HTML-encoded plain text with newlines converted into breaks. public string asNtext ( $value )$value string The value to be formatted. return string The formatted result.

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

faker\FixtureController beforeAction()

beforeAction() public method This method is invoked right before an action is executed. The method will trigger the EVENT_BEFORE_ACTION event. The return value of the method will determine whether the action should continue to run. In case the action should not run, the request should be handled inside of the beforeAction code by either providing the necessary output or redirecting the request. Otherwise the response will be empty. If you override this method, your code should look like the

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