swiftmailer\Mailer createSwiftMailer()

createSwiftMailer() protected method Creates Swift mailer instance. protected \Swift_Mailer createSwiftMailer ( )return \Swift_Mailer Mailer instance.

helpers\BaseConsole updateProgress()

updateProgress() public static method Updates a progress bar that has been started by startProgress(). See also: startProgress() endProgress() public static void updateProgress ( $done, $total, $prefix = null )$done integer The number of items that are completed. $total integer The total value of items that are to be done. $prefix string An optional string to display before the progress bar. Defaults to null meaning the prefix specified by startProgress() will be used. If prefix is s

web\ErrorHandler renderRequest()

renderRequest() public method Renders the global variables of the request. List of global variables is defined in $displayVars. See also $displayVars. public string renderRequest ( )return string The rendering result

helpers\BaseMarkdown $flavors

$flavors public static property A map of markdown flavor names to corresponding parser class configurations. public static array $flavors = ['original' => ['class' => 'cebe\markdown\Markdown', 'html5' => true], 'gfm' => ['class' => 'cebe\markdown\GithubMarkdown', 'html5' => true], 'gfm-comment' => ['class' => 'cebe\markdown\GithubMarkdown', 'html5' => true, 'enableNewlines' => true], 'extra' => ['class' => 'cebe\markdown\MarkdownExtra', 'html5' => tru

mongodb\rbac\MongoDbManager populateItem()

populateItem() protected method Populates an auth item with the data fetched from collection protected yii\rbac\Item populateItem ( $row )$row array The data from the auth item collection return yii\rbac\Item The populated auth item instance (either Role or Permission)

test\ActiveFixture init()

init() public method Initializes the object. This method is invoked at the end of the constructor after the object is initialized with the given configuration. public void init ( )

web\HeaderCollection offsetGet()

offsetGet() public method Returns the header with the specified name. This method is required by the SPL interface ArrayAccess. It is implicitly called when you use something like $header = $collection[$name];. This is equivalent to get(). public string offsetGet ( $name )$name string The header name return string The header value with the specified name, null if the named header does not exist.

web\HeaderCollection offsetSet()

offsetSet() public method Adds the header to the collection. This method is required by the SPL interface ArrayAccess. It is implicitly called when you use something like $collection[$name] = $header;. This is equivalent to add(). public void offsetSet ( $name, $value )$name string The header name $value string The header value to be added

web\CookieCollection offsetGet()

offsetGet() public method Returns the cookie with the specified name. This method is required by the SPL interface ArrayAccess. It is implicitly called when you use something like $cookie = $collection[$name];. This is equivalent to get(). public yii\web\Cookie offsetGet ( $name )$name string The cookie name return yii\web\Cookie The cookie with the specified name, null if the named cookie does not exist.

web\MultiFieldSession $writeCallback

$writeCallback public property A callback that will be called during session data writing. The signature of the callback should be as follows: function ($session) where $session is this session instance, this variable can be used to retrieve session data. Callback should return the actual fields set, which should be saved into the session storage. For example: function ($session) { return [ 'user_id' => Yii::$app->user->id, 'ip' => $_SERVER['REMOTE_ADDR'],