mail\MessageInterface setTextBody()

setTextBody() public abstract method Sets message plain text content. public abstract $this setTextBody ( $text )$text string Message plain text content. return $this Self reference.

web\UrlManager getHostInfo()

getHostInfo() public method Returns the host info that is used by createAbsoluteUrl() to prepend to created URLs. public string getHostInfo ( )return string The host info (e.g. "http://www.example.com") that is used by createAbsoluteUrl() to prepend to created URLs. throws yii\base\InvalidConfigException if running in console application and $hostInfo is not configured.

web\View renderBodyEndHtml()

renderBodyEndHtml() protected method Renders the content to be inserted at the end of the body section. The content is rendered using the registered JS code blocks and files. protected string renderBodyEndHtml ( $ajaxMode )$ajaxMode boolean Whether the view is rendering in AJAX mode. If true, the JS scripts registered at POS_READY and POS_LOAD positions will be rendered at the end of the view like normal scripts. return string The rendered content

elasticsearch\Connection $nodes

$nodes public property The elasticsearch cluster nodes to connect to. This is populated with the result of a cluster nodes request when $autodetectCluster is true. Additional special options: auth: overrides $auth property. For example: [ 'http_address' => 'inet[/127.0.0.1:9200]', 'auth' => ['username' => 'yiiuser', 'password' => 'yiipw'], // Overrides the `auth` property of the class with specific login and password //'auth' => ['username' => 'yiiuser', 'password' =&g

widgets\ActiveField render()

render() public method Renders the whole field. This method will generate the label, error tag, input tag and hint tag (if any), and assemble them into HTML according to $template. public string render ( $content = null )$content string|callable The content within the field container. If null (not set), the default methods will be called to generate the label, error tag and input tag, and use them as the content. If a callable, it will be called to generate the content. The signature o

helpers\BaseConsole ansiFormat()

ansiFormat() public static method Will return a string formatted with the given ANSI style public static string ansiFormat ( $string, $format = [] )$string string The string to be formatted $format array An array containing formatting values. You can pass any of the FG_*, BG_* and TEXT_* constants and also xtermFgColor() and xtermBgColor() to specify a format.

log\Target $except

$except public property List of message categories that this target is NOT interested in. Defaults to empty, meaning no uninteresting messages. If this property is not empty, then any category listed here will be excluded from $categories. You can use an asterisk at the end of a category so that the category can be used to match those categories sharing the same common prefix. For example, 'yii\db*' will match categories starting with 'yii\db\', such as 'yii\db\Connection'. See also $catego

debug\Panel $detail

$detail public read-only property Content that is displayed in debugger detail view public string getDetail ( )

validators\NumberValidator clientValidateAttribute()

clientValidateAttribute() public method Returns the JavaScript needed for performing client-side validation. You may override this method to return the JavaScript validation code if the validator can support client-side validation. The following JavaScript variables are predefined and can be used in the validation code: attribute: an object describing the the attribute being validated. value: the value being validated. messages: an array used to hold the validation error messages for the

authclient\BaseOAuth getSignatureMethod()

getSignatureMethod() public method public yii\authclient\signature\BaseMethod getSignatureMethod ( )return yii\authclient\signature\BaseMethod Signature method instance.