elasticsearch\Query filter()

filter() public method Sets the filter part of this search query. public $this filter ( $filter )$filter string return $this The query object itself

db\BaseActiveRecord 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

mail\BaseMailer setView()

setView() public method public void setView ( $view )$view array|yii\web\View View instance or its array configuration that will be used to render message bodies. throws yii\base\InvalidConfigException on invalid argument.

helpers\BaseUrl current()

current() public static method (available since version 2.0.3) Creates a URL by using the current route and the GET parameters. You may modify or remove some of the GET parameters, or add additional query parameters through the $params parameter. In particular, if you specify a parameter to be null, then this parameter will be removed from the existing GET parameters; all other parameters specified in $params will be merged with the existing GET parameters. For example, // assume $_GET = ['

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.