db\QueryBuilder renameColumn()

renameColumn() public method Builds a SQL statement for renaming a column. public string renameColumn ( $table, $oldName, $newName )$table string The table whose column is to be renamed. The name will be properly quoted by the method. $oldName string The old name of the column. The name will be properly quoted by the method. $newName string The new name of the column. The name will be properly quoted by the method. return string The SQL statement for renaming a DB column.

base\Application coreComponents()

coreComponents() public method Returns the configuration of core application components. See also set(). public void coreComponents ( )

console\controllers\MessageController $sourcePath

$sourcePath public property Required, root directory of all source files. public string $sourcePath = '@yii'

db\Migration addPrimaryKey()

addPrimaryKey() public method Builds and executes a SQL statement for creating a primary key. The method will properly quote the table and column names. public void addPrimaryKey ( $name, $table, $columns )$name string The name of the primary key constraint. $table string The table that the primary key constraint will be added to. $columns string|array Comma separated string or array of columns that the primary key will consist of.

web\Application getHomeUrl()

getHomeUrl() public method public string getHomeUrl ( )return string The homepage URL

mongodb\Query sum()

sum() public method Returns the sum of the specified column values. public integer sum ( $q, $db = null )$q string The column name. Make sure you properly quote column names in the expression. $db yii\mongodb\Connection The Mongo connection used to execute the query. If this parameter is not given, the mongodb application component will be used. return integer The sum of the specified column values

authclient\OAuth2 buildAuthUrl()

buildAuthUrl() public method Composes user authorization URL. public string buildAuthUrl ( array $params = [] )$params array Additional auth GET params. return string Authorization URL.

grid\CheckboxColumn init()

init() public method Initializes the object. This method is invoked at the end of the constructor after the object is initialized with the given configuration. public void init ( )throws yii\base\InvalidConfigException if $name is not set.

widgets\FragmentCache $enabled

$enabled public property Whether to enable the fragment cache. You may use this property to turn on and off the fragment cache according to specific setting (e.g. enable fragment cache only for GET requests). public boolean $enabled = true

caching\ZendDataCache getValue()

getValue() protected method Retrieves a value from cache with a specified key. This is the implementation of the method declared in the parent class. protected mixed|false getValue ( $key )$key string A unique key identifying the cached value return mixed|false The value stored in cache, false if the value is not in the cache or expired.