redis\ActiveRecord find()

find() public static method Creates an \yii\redis\ActiveQueryInterface instance for query purpose. The returned \yii\redis\ActiveQueryInterface instance can be further customized by calling methods defined in \yii\redis\ActiveQueryInterface before one() or all() is called to return populated ActiveRecord instances. For example, // find the customer whose ID is 1 $customer = Customer::find()->where(['id' => 1])->one(); // find all active customers and order them by their age: $cust

widgets\ListView renderItems()

renderItems() public method Renders all data models. public string renderItems ( )return string The rendering result

console\controllers\MessageController getLine()

getLine() protected method (available since version 2.0.1) Finds out a line of the first non-char PHP token found protected integer|string getLine ( $tokens )$tokens array

helpers\BaseConsole moveCursorUp()

moveCursorUp() public static method Moves the terminal cursor up by sending ANSI control code CUU to the terminal. If the cursor is already at the edge of the screen, this has no effect. public static void moveCursorUp ( $rows = 1 )$rows integer Number of rows the cursor should be moved up

helpers\BaseUrl isRelative()

isRelative() public static method Returns a value indicating whether a URL is relative. A relative URL does not have host info part. public static boolean isRelative ( $url )$url string The URL to be checked return boolean Whether the URL is relative

db\Migration createTable()

createTable() public method Builds and executes a SQL statement for creating a new DB table. The columns in the new table should be specified as name-definition pairs (e.g. 'name' => 'string'), where name stands for a column name which will be properly quoted by the method, and definition stands for the column type which can contain an abstract DB type. The yii\db\QueryBuilder::getColumnType() method will be invoked to convert any abstract type into a physical one. If a column is specifi

elasticsearch\ActiveRecord type()

type() public static method public static string type ( )return string The name of the type of this record.

grid\GridView renderSection()

renderSection() public method Renders a section of the specified name. If the named section is not supported, false will be returned. public string|boolean renderSection ( $name )$name string The section name, e.g., {summary}, {items}. return string|boolean The rendering result of the section, or false if the named section is not supported.

filters\Cors beforeAction()

beforeAction() public method This method is invoked right before an action is to be executed (after all possible filters.) You may override this method to do last-minute preparation for the action. public boolean beforeAction ( $action )$action yii\base\Action The action to be executed. return boolean Whether the action should continue to be executed.

console\controllers\FixtureController $namespace

$namespace public property Default namespace to search fixtures in public string $namespace = 'tests\unit\fixtures'