helpers\BaseConsole clearScreen()

clearScreen() public static method Clears entire screen content by sending ANSI control code ED with argument 2 to the terminal. Cursor position will not be changed. Note: ANSI.SYS implementation used in windows will reset cursor position to upper left corner of the screen. public static void clearScreen ( )

base\Behavior detach()

detach() public method Detaches the behavior object from the component. The default implementation will unset the $owner property and detach event handlers declared in events(). Make sure you call the parent implementation if you override this method. public void detach ( )

web\View registerJs()

registerJs() public method Registers a JS code block. public void registerJs ( $js, $position = self::POS_READY, $key = null )$js string The JS code block to be registered $position integer The position at which the JS script tag should be inserted in a page. The possible values are: POS_HEAD: in the head section POS_BEGIN: at the beginning of the body section POS_END: at the end of the body section POS_LOAD: enclosed within jQuery(window).load(). Note that by using this position,

mongodb\LogBuilder processData()

processData() protected method Pre-processes the log data before sending it to json_encode(). protected mixed processData ( $data )$data mixed Raw data. return mixed The processed data.

mongodb\QueryBuilder ensureMongoId()

ensureMongoId() protected method Converts given value into \MongoDB\BSON\ObjectID instance. If array given, each element of it will be processed. protected array|\MongoDB\BSON\ObjectID ensureMongoId ( $rawId )$rawId mixed Raw id(s). return array|\MongoDB\BSON\ObjectID Normalized id(s).

redis\ActiveRecord attributes()

attributes() public method Returns the list of all attribute names of the model. This method must be overridden by child classes to define available attributes. public array attributes ( )return array List of attribute names.

widgets\MaskedInput $mask

$mask public property The input mask (e.g. '99/99/9999' for date input). The following characters can be used in the mask and are predefined: a: represents an alpha character (A-Z, a-z) 9: represents a numeric character (0-9) *: represents an alphanumeric character (A-Z, a-z, 0-9) [ and ]: anything entered between the square brackets is considered optional user input. This is based on the optionalmarker setting in $clientOptions. Additional definitions can be set through the $definition

web\HeaderCollection setDefault()

setDefault() public method Sets a new header only if it does not exist yet. If there is already a header with the same name, the new one will be ignored. public $this setDefault ( $name, $value )$name string The name of the header $value string The value of the header return $this The collection object itself

base\Module createController()

createController() public method Creates a controller instance based on the given route. The route should be relative to this module. The method implements the following algorithm to resolve the given route: If the route is empty, use $defaultRoute; If the first segment of the route is a valid module ID as declared in $modules, call the module's createController() with the rest part of the route; If the first segment of the route is found in $controllerMap, create a controller based on the

web\ErrorHandler argumentsToString()

argumentsToString() public method Converts arguments array to its string representation public string argumentsToString ( $args )$args array Arguments array to be converted return string String representation of the arguments array