redis\Connection initConnection()

initConnection() protected method Initializes the DB connection. This method is invoked right after the DB connection is established. The default implementation triggers an EVENT_AFTER_OPEN event. protected void initConnection ( )

widgets\PjaxAsset $js

$js public property public $js = ['jquery.pjax.js']

debug\panels\TimelinePanel $colors

$colors public property public array getColors ( )public void setColors ( $colors )

gii\generators\controller\Generator $controllerID

$controllerID public read-only property The controller ID public string getControllerID ( )

behaviors\AttributeTypecastBehavior afterFind()

afterFind() public method Handles owner 'afterFind' event, ensuring attribute typecasting. public void afterFind ( $event )$event yii\base\Event Event instance.

helpers\BaseHtml cssStyleFromArray()

cssStyleFromArray() public static method Converts a CSS style array into a string representation. For example, print_r(Html::cssStyleFromArray(['width' => '100px', 'height' => '200px'])); // will display: 'width: 100px; height: 200px;' public static string cssStyleFromArray ( array $style )$style array The CSS style array. The array keys are the CSS property names, and the array values are the corresponding CSS property values. return string The CSS style string. If the CSS styl

base\View init()

init() public method Initializes the view component. public void init ( )

console\Controller getActionArgsHelp()

getActionArgsHelp() public method Returns the help information for the anonymous arguments for the action. The returned value should be an array. The keys are the argument names, and the values are the corresponding help information. Each value must be an array of the following structure: required: boolean, whether this argument is required. type: string, the PHP type of this argument. default: string, the default value of this argument comment: string, the comment of this argument The defa

Theming

Theming Modules Theming Widgets Theme Inheritance Theming is a way to replace a set of views with another without the need of touching the original view rendering code. You can use theming to systematically change the look and feel of an application. To use theming, you should configure the theme property of the view application component. The property configures a yii\base\Theme object which governs how view files are being replaced. You should mainly specify the following properties of yii\b

caching\MemCache $servers

$servers public property List of memcache server configurations. public yii\caching\MemCacheServer[] getServers ( )public void setServers ( $config )