console\controllers\MessageController $overwrite

$overwrite public property Whether the message file should be overwritten with the merged messages public boolean $overwrite = true

helpers\BaseConsole restoreCursorPosition()

restoreCursorPosition() public static method Restores the cursor position saved with saveCursorPosition() by sending ANSI control code RCP to the terminal. public static void restoreCursorPosition ( )

db\ActiveQueryTrait $with

$with public property A list of relations that this query should be performed with public array $with = null

authclient\OAuthToken getIsExpired()

getIsExpired() public method Checks if token has expired. public boolean getIsExpired ( )return boolean Is token expired.

jui\JuiAsset $css

$css public property public $css = ['themes/smoothness/jquery-ui.css']

mongodb\Query $options

$options public property Cursor options in format: optionKey => optionValue See also: \MongoDB\Driver\Cursor::addOption() options() public array $options = []

db\BaseActiveRecord $relatedRecords

$relatedRecords public read-only property An array of related records indexed by relation names. public array getRelatedRecords ( )

Testing

Developing with tests When and how to test Further reading Testing is an important part of software development. Whether we are aware of it or not, we conduct testing continuously. For example, when we write a class in PHP, we may debug it step by step or simply use echo or die statements to verify the implementation works according to our initial plan. In the case of a web application, we're entering some test data in forms to ensure the page interacts with us as expected. The testing process

db\QueryBuilder checkIntegrity()

checkIntegrity() public method Builds a SQL statement for enabling or disabling integrity check. public string checkIntegrity ( $check = true, $schema = '', $table = '' )$check boolean Whether to turn on or off the integrity check. $schema string The schema of the tables. Defaults to empty string, meaning the current or default schema. $table string The table name. Defaults to empty string, meaning that no table will be changed. return string The SQL statement for checking integrit

helpers\BaseHtml script()

script() public static method Generates a script tag. public static string script ( $content, $options = [] )$content string The script content $options array The tag options in terms of name-value pairs. These will be rendered as the attributes of the resulting tag. The values will be HTML-encoded using encode(). If a value is null, the corresponding attribute will not be rendered. See renderTagAttributes() for details on how attributes are being rendered. return string The generate