gii\generators\controller\Generator $baseClass

$baseClass public property The base class of the controller public string $baseClass = 'yii\web\Controller'

caching\FileCache getCacheFile()

getCacheFile() protected method Returns the cache file path given the cache key. protected string getCacheFile ( $key )$key string Cache key return string The cache file path

mongodb\Session $db

$db public property The MongoDB connection object or the application component ID of the MongoDB connection. After the Session object is created, if you want to change this property, you should only assign it with a MongoDB connection object. Starting from version 2.0.2, this can also be a configuration array for creating the object. public yii\mongodb\Connection|array|string $db = 'mongodb'

web\Controller $enableCsrfValidation

$enableCsrfValidation public property Whether to enable CSRF validation for the actions in this controller. CSRF validation is enabled only when both this property and yii\web\Request::$enableCsrfValidation are true. public boolean $enableCsrfValidation = true

db\Query one()

one() public method Executes the query and returns a single row of result. public array|boolean one ( $db = null )$db yii\db\Connection The database connection used to generate the SQL statement. If this parameter is not given, the db application component will be used. return array|boolean The first row (in terms of an array) of the query result. False is returned if the query results in nothing.

db\ActiveQuery andOnCondition()

andOnCondition() public method Adds an additional ON condition to the existing one. The new condition and the existing one will be joined using the 'AND' operator. See also: onCondition() orOnCondition() public $this andOnCondition ( $condition, $params = [] )$condition string|array The new ON condition. Please refer to where() on how to specify this parameter. $params array The parameters (name => value) to be bound to the query. return $this The query object itself

sphinx\Schema getCacheTag()

getCacheTag() protected method Returns the cache tag name. This allows refresh() to invalidate all cached index schemas. protected string getCacheTag ( )return string The cache tag name

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.

validators\ImageValidator $minHeight

$minHeight public property The minimum height in pixels. Defaults to null, meaning no limit. See also $underHeight for the customized message used when image height is too small. public integer $minHeight = null

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