swiftmailer\Message attach()

attach() public method Attaches existing file to the email message. public $this attach ( $fileName, array $options = [] )$fileName string Full file name $options array Options for embed file. Valid options are: fileName: name, which should be used to attach file. contentType: attached file MIME type. return $this Self reference.

swiftmailer\Message addHeader()

addHeader() public method (available since version 2.0.6) Adds custom header value to the message. Several invocations of this method with the same name will add multiple header values. public $this addHeader ( $name, $value )$name string Header name. $value string Header value. return $this Self reference.

web\Session getUseCustomStorage()

getUseCustomStorage() public method Returns a value indicating whether to use custom session storage. This method should be overridden to return true by child classes that implement custom session storage. To implement custom session storage, override these methods: openSession(), closeSession(), readSession(), writeSession(), destroySession() and gcSession(). public boolean getUseCustomStorage ( )return boolean Whether to use custom storage.

gii\TypeAheadAsset $depends

$depends public property public $depends = ['yii\bootstrap\BootstrapAsset', 'yii\bootstrap\BootstrapPluginAsset']

web\User afterLogout()

afterLogout() protected method This method is invoked right after a user is logged out via logout(). The default implementation will trigger the EVENT_AFTER_LOGOUT event. If you override this method, make sure you call the parent implementation so that the event is triggered. protected void afterLogout ( $identity )$identity yii\web\IdentityInterface The user identity information

rbac\PhpManager updateRule()

updateRule() public method Updates a rule to the RBAC system. public boolean updateRule ( $name, $rule )$name string The name of the rule being updated $rule yii\rbac\Rule The updated rule return boolean Whether the rule is successfully updated throws Exception if data validation or saving fails (such as the name of the rule is not unique)

db\QueryBuilder update()

update() public method Creates an UPDATE SQL statement. For example, $params = []; $sql = $queryBuilder->update('user', ['status' => 1], 'age > 30', $params); The method will properly escape the table and column names. public string update ( $table, $columns, $condition, &$params )$table string The table to be updated. $columns array The column data (name => value) to be updated. $condition array|string The condition that will be put in the WHERE part. Please refer

debug\components\search\matchers\GreaterThan match()

match() public method Checks if the value passed matches base value. public boolean match ( $value )$value mixed Value to be matched return boolean If there is a match

widgets\ActiveField error()

error() public method Generates a tag that contains the first validation error of $attribute. Note that even if there is no validation error, this method will still return an empty error tag. See also $errorOptions. public $this error ( $options = [] )$options array|false The tag options in terms of name-value pairs. It will be merged with $errorOptions. The options will be rendered as the attributes of the resulting tag. The values will be HTML-encoded using yii\helpers\Html::encode()

i18n\MessageSource translateMessage()

translateMessage() protected method Translates the specified message. If the message is not found, a missingTranslation event will be triggered. If there is an event handler, it may provide a fallback translation. If no fallback translation is provided this method will return false. protected string|boolean translateMessage ( $category, $message, $language )$category string The category that the message belongs to. $message string The message to be translated. $language string The ta