helpers\BaseHtmlPurifier process()

process() public static method Passes markup through HTMLPurifier making it safe to output to end user public static string process ( $content, $config = null )$content string The HTML content to purify $config array|Closure|null The config to use for HtmlPurifier. If not specified or null the default config will be used. You can use an array or an anonymous function to provide configuration options: An array will be passed to the HTMLPurifier_Config::create() method. An anonymous f

web\ErrorHandler $exceptionView

$exceptionView public property The path of the view file for rendering exceptions. public string $exceptionView = '@yii/views/errorHandler/exception.php'

base\Model setScenario()

setScenario() public method Sets the scenario for the model. Note that this method does not check if the scenario exists or not. The method validate() will perform this check. public void setScenario ( $value )$value string The scenario that this model is in.

base\Security encryptByPassword()

encryptByPassword() public method Encrypts data using a password. Derives keys for encryption and authentication from the password using PBKDF2 and a random salt, which is deliberately slow to protect against dictionary attacks. Use encryptByKey() to encrypt fast using a cryptographic key rather than a password. Key derivation time is determined by $derivationIterations, which should be set as high as possible. The encrypted data includes a keyed message authentication code (MAC) so there i

db\TableSchema $columns

$columns public property Column metadata of this table. Each array element is a yii\db\ColumnSchema object, indexed by column names. public yii\db\ColumnSchema[] $columns = []

sphinx\Query createCommand()

createCommand() public method Creates a Sphinx command that can be used to execute this query. public yii\sphinx\Command createCommand ( $db = null )$db yii\sphinx\Connection The Sphinx connection used to generate the SQL statement. If this parameter is not given, the sphinx application component will be used. return yii\sphinx\Command The created Sphinx command instance.

helpers\FormatConverter

All Classes | Properties | Methods Inheritance yii\helpers\FormatConverter » yii\helpers\BaseFormatConverter Available since version 2.0 Source Code https://github.com/yiisoft/yii2/blob/master/framework/helpers/FormatConverter.php FormatConverter provides functionality to convert between different formatting pattern formats. It provides functions to convert date format patterns between different conventions. Public Properties Property Type Description Defined By $juiFallbackDatePatterns

elasticsearch\Query stats()

stats() public method Adds a 'stats' part to the query. See also http://www.elastic.co/guide/en/elasticsearch/reference/current/search.html#stats-groups. public $this stats ( $groups )$groups array An array of groups to maintain a statistics aggregation for. return $this The query object itself

gii\Generator validateClass()

validateClass() public method An inline validator that checks if the attribute value refers to an existing class name. If the extends option is specified, it will also check if the class is a child class of the class represented by the extends option. public void validateClass ( $attribute, $params )$attribute string The attribute being validated $params array The validation options

db\BatchQueryResult current()

current() public method Returns the current dataset. This method is required by the interface Iterator. public mixed current ( )return mixed The current dataset.