mail\BaseMailer compose()

compose() public method Creates a new message instance and optionally composes its body content via view rendering. public yii\mail\MessageInterface compose ( $view = null, array $params = [] )$view string|array|null The view to be used for rendering the message body. This can be: a string, which represents the view name or path alias for rendering the HTML body of the email. In this case, the text body will be generated by applying strip_tags() to the HTML body. an array with 'html' a

mongodb\file\StreamWrapper stream_seek()

stream_seek() public method Seeks to specific location in a stream. This method is called in response to fseek(). See also \yii\mongodb\file\fseek(). public boolean stream_seek ( $offset, $whence = SEEK_SET )$offset integer The stream offset to seek to. $whence integer Possible values: SEEK_SET - Set position equal to offset bytes. SEEK_CUR - Set position to current location plus offset. SEEK_END - Set position to end-of-file plus offset. return boolean Return true if the position wa

redis\ActiveRecord attributes()

attributes() public method Returns the list of all attribute names of the model. This method must be overridden by child classes to define available attributes. public array attributes ( )return array List of attribute names.

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