web\Response getIsEmpty()

getIsEmpty() public method public boolean getIsEmpty ( )return boolean Whether this response is empty

i18n\Formatter asEmail()

asEmail() public method Formats the value as a mailto link. public string asEmail ( $value, $options = [] )$value string The value to be formatted. $options array The tag options in terms of name-value pairs. See yii\helpers\Html::mailto(). return string The formatted result.

console\controllers\FixtureController options()

options() public method Returns the names of valid options for the action (id) An option requires the existence of a public member variable whose name is the option name. Child classes may override this method to specify possible options. Note that the values setting via options are not available until beforeAction() is being called. public array options ( $actionID )$actionID string The action id of the current request return array The names of the options valid for the action

captcha\Captcha getClientOptions()

getClientOptions() protected method Returns the options for the captcha JS widget. protected array getClientOptions ( )return array The options

web\Response sendStreamAsFile()

sendStreamAsFile() public method Sends the specified stream as a file to the browser. Note that this method only prepares the response for file sending. The file is not sent until send() is called explicitly or implicitly. The latter is done after you return from a controller action. See also sendFile() for an example implementation. public $this sendStreamAsFile ( $handle, $attachmentName, $options = [] )$handle resource The handle of the stream to be sent. $attachmentName string The

validators\IpValidator $networks

$networks public property The network aliases, that can be used in $ranges. key - alias name value - array of strings. String can be an IP range, IP address or another alias. String can be negated with NEGATION_CHAR (independent of negation option). The following aliases are defined by default: *: any any: 0.0.0.0/0, ::/0 private: 10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16, fd00::/8 multicast: 224.0.0.0/4, ff00::/8 linklocal: 169.254.0.0/16, fe80::/10 localhost: 127.0.0.0/8', ::1

authclient\clients\YandexOAuth defaultTitle()

defaultTitle() protected method Generates service title. protected string defaultTitle ( )return string Service title.

validators\FileValidator $message

$message public property The error message used when a file is not uploaded correctly. public string $message = null

helpers\BaseJson $jsonErrorMessages

$jsonErrorMessages public static property (available since version 2.0.7) public static array $jsonErrorMessages = ['JSON_ERROR_DEPTH' => 'The maximum stack depth has been exceeded.', 'JSON_ERROR_STATE_MISMATCH' => 'Invalid or malformed JSON.', 'JSON_ERROR_CTRL_CHAR' => 'Control character error, possibly incorrectly encoded.', 'JSON_ERROR_SYNTAX' => 'Syntax error.', 'JSON_ERROR_UTF8' => 'Malformed UTF-8 characters, possibly incorrectly encoded.', 'JSON_ERROR_RECURSION' => '

base\Model createValidators()

createValidators() public method Creates validator objects based on the validation rules specified in rules(). Unlike getValidators(), each time this method is called, a new list of validators will be returned. public ArrayObject createValidators ( )return ArrayObject Validators throws yii\base\InvalidConfigException if any validation rule configuration is invalid