db\QueryTrait filterWhere()

filterWhere() public method Sets the WHERE part of the query but ignores empty operands. This method is similar to where(). The main difference is that this method will remove empty query operands. As a result, this method is best suited for building query conditions based on filter values entered by users. The following code shows the difference between this method and where(): // WHERE `age`=:age $query->filterWhere(['name' => null, 'age' => 20]); // WHERE `age`=:age $query->w

debug\panels\MailPanel save()

save() public method Saves data to be later used in debugger detail view. This method is called on every page where debugger is enabled. public mixed save ( )return mixed Data to be saved

web\Request resolvePathInfo()

resolvePathInfo() protected method Resolves the path info part of the currently requested URL. A path info refers to the part that is after the entry script and before the question mark (query string). The starting slashes are both removed (ending slashes will be kept). protected string resolvePathInfo ( )return string Part of the request URL that is after the entry script and before the question mark. Note, the returned path info is decoded. throws yii\base\InvalidConfigException if t

mongodb\Session readSession()

readSession() public method Session read handler. Do not call this method directly. public string readSession ( $id )$id string Session ID return string The session data

test\InitDbFixture $initScript

$initScript public property The init script file that should be executed when loading this fixture. This should be either a file path or path alias. Note that if the file does not exist, no error will be raised. public string $initScript = '@app/tests/fixtures/initdb.php'

db\BaseActiveRecord setAttribute()

setAttribute() public method Sets the named attribute value. See also hasAttribute(). public void setAttribute ( $name, $value )$name string The attribute name $value mixed The attribute value. throws yii\base\InvalidParamException if the named attribute does not exist.

web\Application $controller

$controller public property The currently active controller instance public yii\web\Controller $controller = null

faker\FixtureController generateFixtureFile()

generateFixtureFile() public method Generates fixture file by the given fixture template file. public void generateFixtureFile ( $templateName, $templatePath, $fixtureDataPath )$templateName string Template file name $templatePath string Path where templates are stored $fixtureDataPath string Fixture data path where generated file should be written

validators\EachValidator validateAttribute()

validateAttribute() public method Validates a single attribute. Child classes must implement this method to provide the actual validation logic. public void validateAttribute ( $model, $attribute )$model yii\base\Model The data model to be validated $attribute string The name of the attribute to be validated.

filters\HttpCache $weakEtag

$weakEtag public property (available since version 2.0.8) Whether to generate weak ETags. Weak ETags should be used if the content should be considered semantically equivalent, but not byte-equal. See also http://tools.ietf.org/html/rfc7232#section-2.3. public boolean $weakEtag = false