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 ( )

db\Query exists()

exists() public method Returns a value indicating whether the query result contains any row of data. public boolean exists ( $db = null )$db yii\db\Connection The database connection used to generate the SQL statement. If this parameter is not given, the db application component will be used. return boolean Whether the query result contains any row of data.

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 )

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

gii\generators\controller\Generator $controllerID

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

caching\MemCache $servers

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

console\Controller getHelpSummary()

getHelpSummary() public method Returns one-line short summary describing this controller. You may override this method to return customized summary. The default implementation returns first line from the PHPDoc comment. public string getHelpSummary ( )

bootstrap\ButtonGroup $encodeLabels

$encodeLabels public property Whether to HTML-encode the button labels. public boolean $encodeLabels = true

behaviors\AttributeTypecastBehavior afterFind()

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