Responses

Status Code HTTP Headers Response Body Browser Redirection Sending Files Sending Response When an application finishes handling a request, it generates a response object and sends it to the end user. The response object contains information such as the HTTP status code, HTTP headers and body. The ultimate goal of Web application development is essentially to build such response objects upon various requests. In most cases you should mainly deal with the response application component which is

elasticsearch\ActiveDataProvider getQueryResults()

getQueryResults() public method public array getQueryResults ( )return array Full query results

db\Connection $slavePdo

$slavePdo public read-only property The PDO instance for the currently active slave connection. Null is returned if no slave connection is available and $fallbackToMaster is false. public PDO getSlavePdo ( $fallbackToMaster = true )

base\Application $request

$request public read-only property The request component. public yii\web\Request|yii\console\Request getRequest ( )

gii\Generator init()

init() public method Initializes the object. This method is invoked at the end of the constructor after the object is initialized with the given configuration. public void init ( )

gii\CodeFile $content

$content public property The newly generated code content public string $content = null

rbac\DbManager getChildrenRecursive()

getChildrenRecursive() protected method Recursively finds all children and grand children of the specified item. protected void getChildrenRecursive ( $name, $childrenList, &$result )$name string The name of the item whose children are to be looked for. $childrenList array The child list built via getChildrenList() $result array The children and grand children (in array keys)

validators\ValidationAsset $js

$js public property public $js = ['yii.validation.js']

mongodb\Query getCollection()

getCollection() public method Returns the Mongo collection for this query. public yii\mongodb\Collection getCollection ( $db = null )$db yii\mongodb\Connection Mongo connection. return yii\mongodb\Collection Collection instance.

validators\RequiredValidator 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