web\View renderAjax()

renderAjax() public method Renders a view in response to an AJAX request. This method is similar to render() except that it will surround the view being rendered with the calls of beginPage(), head(), beginBody(), endBody() and endPage(). By doing so, the method is able to inject into the rendering result with JS/CSS scripts and files that are registered with the view. See also render(). public string renderAjax ( $view, $params = [], $context = null )$view string The view name. Please r

db\Schema isReadQuery()

isReadQuery() public method Returns a value indicating whether a SQL statement is for read purpose. public boolean isReadQuery ( $sql )$sql string The SQL statement return boolean Whether a SQL statement is for read purpose.

debug\Module $allowedHosts

$allowedHosts public property The list of hosts that are allowed to access this module. Each array element is a hostname that will be resolved to an IP address that is compared with the IP address of the user. A use case is to use a dynamic DNS (DDNS) to allow access. The default value is []. public array $allowedHosts = []

base\View $defaultExtension

$defaultExtension public property The default view file extension. This will be appended to view file names if they don't have file extensions. public string $defaultExtension = 'php'

web\Session close()

close() public method Ends the current session and store session data. public void close ( )

db\Schema $queryBuilder

$queryBuilder public read-only property The query builder for this connection. public yii\db\QueryBuilder getQueryBuilder ( )

console\Response

All Classes | Properties | Methods Inheritance yii\console\Response » yii\base\Response » yii\base\Component » yii\base\Object Implements yii\base\Configurable Available since version 2.0 Source Code https://github.com/yiisoft/yii2/blob/master/framework/console/Response.php The console Response represents the result of a console application. Public Properties Property Type Description Defined By $behaviors yii\base\Behavior[] List of behaviors attached to this component yii\base\Compon

Properties

In PHP, class member variables are also called properties. These variables are part of the class definition, and are used to represent the state of a class instance (i.e., to differentiate one instance of the class from another). In practice, you may often want to handle the reading or writing of properties in special ways. For example, you may want to always trim a string when it is being assigned to a label property. You could use the following code to achieve this task: $object->label = t

base\Model $validators

$validators public read-only property All the validators declared in the model. public ArrayObject|yii\validators\Validator[] getValidators ( )

console\Controller $passedOptionValues

$passedOptionValues public read-only property The properties corresponding to the passed options public array getPassedOptionValues ( )