db\Transaction getIsActive()

getIsActive() public method Returns a value indicating whether this transaction is active. public boolean getIsActive ( )return boolean Whether this transaction is active. Only an active transaction can commit() or rollBack().

base\Theme getPath()

getPath() public method Converts a relative file path into an absolute one using $basePath. public string getPath ( $path )$path string The relative file path to be converted. return string The absolute file path throws yii\base\InvalidConfigException if $baseUrl is not set

elasticsearch\ActiveQuery one()

one() public method Executes query and returns a single row of result. public yii\elasticsearch\ActiveRecord|array|null one ( $db = null )$db yii\elasticsearch\Connection The DB connection used to create the DB command. If null, the DB connection returned by $modelClass will be used. return yii\elasticsearch\ActiveRecord|array|null A single row of query result. Depending on the setting of asArray(), the query result may be either an array or an ActiveRecord object. Null will be retur

gii\console\GenerateController $generators

$generators public property A list of the available code generators public array $generators = []

test\FixtureTrait fixtures()

fixtures() public method Declares the fixtures that are needed by the current test case. The return value of this method must be an array of fixture configurations. For example, [ // anonymous fixture PostFixture::className(), // "users" fixture 'users' => UserFixture::className(), // "cache" fixture with configuration 'cache' => [ 'class' => CacheFixture::className(), 'host' => 'xxx', ], ] Note that the actual fixtures used for a t

test\ActiveFixture getTableSchema()

getTableSchema() public method public yii\db\TableSchema getTableSchema ( )return yii\db\TableSchema The schema information of the database table associated with this fixture. throws yii\base\InvalidConfigException if the table does not exist

authclient\OAuth1 apiInternal()

apiInternal() protected method Performs request to the OAuth API. protected array apiInternal ( $accessToken, $url, $method, array $params, array $headers )$accessToken yii\authclient\OAuthToken Actual access token. $url string Absolute API URL. $method string Request method. $params array Request parameters. $headers array Additional request headers. return array API response. throws yii\base\Exception on failure.

db\SchemaBuilderTrait float()

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

sphinx\MatchExpression andMatch()

andMatch() public method Adds an additional MATCH condition to the existing one. The new condition and the existing one will be joined using the 'AND' (' ') operator. See also: match() orMatch() public $this andMatch ( $condition, $params = [] )$condition string|array|yii\db\Expression The new MATCH condition. Please refer to match() on how to specify this parameter. $params array The parameters (name => value) to be parsed into the query. return $this The expression object itse

db\ActiveQuery onCondition()

onCondition() public method Sets the ON condition for a relational query. The condition will be used in the ON part when yii\db\ActiveQuery::joinWith() is called. Otherwise, the condition will be used in the WHERE part of a query. Use this method to specify additional conditions when declaring a relation in the yii\db\ActiveRecord class: public function getActiveUsers() { return $this->hasMany(User::className(), ['id' => 'user_id']) ->onCondition(['active' =>