db\SchemaBuilderTrait dateTime()

dateTime() public method (available since version 2.0.6) Creates a datetime column. public yii\db\ColumnSchemaBuilder dateTime ( $precision = null )$precision integer Column value precision. First parameter passed to the column type, e.g. DATETIME(precision). This parameter will be ignored if not supported by the DBMS. return yii\db\ColumnSchemaBuilder The column instance which can be further customized.

gii\generators\model\Generator getSchemaNames()

getSchemaNames() protected method (available since version 2.0.5) protected string[] getSchemaNames ( )return string[] All db schema names or an array with a single empty string throws yii\base\NotSupportedException

helpers\BaseConsole clearScreenAfterCursor()

clearScreenAfterCursor() public static method Clears text from cursor to the end of the screen by sending ANSI control code ED with argument 0 to the terminal. Cursor position will not be changed. public static void clearScreenAfterCursor ( )

base\Widget $view

$view public property The view object that can be used to render views or view files. public yii\web\View getView ( )public void setView ( $view )

BaseYii trace()

trace() public static method Logs a trace message. Trace messages are logged mainly for development purpose to see the execution work flow of some code. public static void trace ( $message, $category = 'application' )$message string The message to be logged. $category string The category of the message.

base\Application $extensions

$extensions public property List of installed Yii extensions. Each array element represents a single extension with the following structure: [ 'name' => 'extension name', 'version' => 'version number', 'bootstrap' => 'BootstrapClassName', // optional, may also be a configuration array 'alias' => [ '@alias1' => 'to/path1', '@alias2' => 'to/path2', ], ] The "bootstrap" class listed above will be instantiated during the application bootst

debug\Panel $name

$name public read-only property Name of the panel public string getName ( )

db\Query from()

from() public method Sets the FROM part of the query. public $this from ( $tables )$tables string|array The table(s) to be selected from. This can be either a string (e.g. 'user') or an array (e.g. ['user', 'profile']) specifying one or several table names. Table names can contain schema prefixes (e.g. 'public.user') and/or table aliases (e.g. 'user u'). The method will automatically quote the table names unless it contains some parenthesis (which means the table is given as a sub-quer

db\ActiveRecord populateRecord()

populateRecord() public static method Populates an active record object using a row of data from the database/storage. This is an internal method meant to be called to create active record objects after fetching data from the database. It is mainly used by yii\db\ActiveQuery to populate the query results into active records. When calling this method manually you should call afterFind() on the created record to trigger the afterFind Event. public static void populateRecord ( $record, $row

mutex\Mutex releaseLock()

releaseLock() protected abstract method This method should be extended by a concrete Mutex implementations. Releases lock by given name. protected abstract boolean releaseLock ( $name )$name string Of the lock to be released. return boolean Release result.