gii\generators\extension\Generator getDescription()

getDescription() public method public string getDescription ( )return string The detailed description of the generator.

helpers\BaseHtmlPurifier configure()

configure() protected static method (available since version 2.0.3) Allow the extended HtmlPurifier class to set some default config options. protected static void configure ( $config )$config \HTMLPurifier_Config

helpers\BaseHtml errorSummary()

errorSummary() public static method Generates a summary of the validation errors. If there is no validation error, an empty error summary markup will still be generated, but it will be hidden. public static string errorSummary ( $models, $options = [] )$models yii\base\Model|yii\base\Model[] The model(s) whose validation errors are to be displayed. $options array The tag options in terms of name-value pairs. The following options are specially handled: header: string, the header HTML

validators\ImageValidator validateValue()

validateValue() protected method Validates a value. A validator class can implement this method to support data validation out of the context of a data model. protected array|null validateValue ( $file )$file return array|null The error message and the parameters to be inserted into the error message. Null should be returned if the data is valid. throws yii\base\NotSupportedException if the validator does not supporting data validation without a model

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

caching\ZendDataCache getValue()

getValue() protected method Retrieves a value from cache with a specified key. This is the implementation of the method declared in the parent class. protected mixed|false getValue ( $key )$key string A unique key identifying the cached value return mixed|false The value stored in cache, false if the value is not in the cache or expired.

mongodb\Command $writeConcern

$writeConcern public property Write concern to be used in this command. public \MongoDB\Driver\WriteConcern|null getWriteConcern ( )public $this setWriteConcern ( $writeConcern )

test\ArrayFixture getData()

getData() protected method Returns the fixture data. The default implementation will try to return the fixture data by including the external file specified by $dataFile. The file should return the data array that will be stored in $data after inserting into the database. protected array getData ( )return array The data to be put into the database throws yii\base\InvalidConfigException if the specified data file does not exist.

helpers\BaseConsole ansiToHtml()

ansiToHtml() public static method Converts an ANSI formatted string to HTML Note: xTerm 256 bit colors are currently not supported. public static string ansiToHtml ( $string, $styleMap = [] )$string string The string to convert. $styleMap array An optional mapping of ANSI control codes such as FG_COLOR or BOLD to a set of css style definitions. The CSS style definitions are represented as an array where the array keys correspond to the css style attribute names and the values are the c

authclient\clients\Twitter $attributeParams

$attributeParams public property (available since version 2.0.6) List of extra parameters, which should be used, while requesting user attributes from Twitter API. For example: [ 'include_email' => 'true' ] See also https://dev.twitter.com/rest/reference/get/account/verify_credentials. public array $attributeParams = []