widgets\ActiveForm $method

$method public property The form submission method. This should be either post or get. Defaults to post. When you set this to get you may see the url parameters repeated on each request. This is because the default value of $action is set to be the current request url and each submit will add new parameters instead of replacing existing ones. You may set $action explicitly to avoid this: $form = ActiveForm::begin([ 'method' => 'get', 'action' => ['controller/action'], ]); pu

web\View registerCssFile()

registerCssFile() public method Registers a CSS file. public void registerCssFile ( $url, $options = [], $key = null )$url string The CSS file to be registered. $options array The HTML attributes for the link tag. Please refer to yii\helpers\Html::cssFile() for the supported options. The following options are specially handled and are not treated as HTML attributes: depends: array, specifies the names of the asset bundles that this CSS file depends on. $key string The key that ident

debug\controllers\DefaultController $module

$module public property public yii\debug\Module $module = null

log\EmailTarget $message

$message public property The configuration array for creating a message object. Note that the "to" option must be set, which specifies the destination email address(es). public array $message = []

log\FileTarget $fileMode

$fileMode public property The permission to be set for newly created log files. This value will be used by PHP chmod() function. No umask will be applied. If not set, the permission will be determined by the current environment. public integer $fileMode = null

di\ServiceLocator has()

has() public method Returns a value indicating whether the locator has the specified component definition or has instantiated the component. This method may return different results depending on the value of $checkInstance. If $checkInstance is false (default), the method will return a value indicating whether the locator has the specified component definition. If $checkInstance is true, the method will return a value indicating whether the locator has instantiated the specified component.

console\Application runAction()

runAction() public method Runs a controller action specified by a route. This method parses the specified route and creates the corresponding child module(s), controller and action instances. It then calls yii\console\Controller::runAction() to run the action with the given parameters. If the route is empty, the method will use $defaultRoute. For example, to run public function actionTest($a, $b) assuming that the controller has options the following code should be used: \Yii::$app->runA

debug\components\TimelineDataProvider getColor()

getColor() public method Getting HEX color based on model duration public string getColor ( $model )$model array

web\ErrorHandler isCoreFile()

isCoreFile() public method Determines whether given name of the file belongs to the framework. public boolean isCoreFile ( $file )$file string Name to be checked. return boolean Whether given name of the file belongs to the framework.

base\Controller createAction()

createAction() public method Creates an action based on the given action ID. The method first checks if the action ID has been declared in actions(). If so, it will use the configuration declared there to create the action object. If not, it will look for a controller method whose name is in the format of actionXyz where Xyz stands for the action ID. If found, an yii\base\InlineAction representing that method will be created and returned. public yii\base\Action createAction ( $id )$id str