bootstrap\Carousel renderIndicators()

renderIndicators() public method Renders carousel indicators. public string renderIndicators ( )return string The rendering result

Page Caching

Page caching refers to caching the content of a whole page on the server-side. Later when the same page is requested again, its content will be served from the cache instead of regenerating it from scratch. Page caching is supported by yii\filters\PageCache, an action filter. It can be used like the following in a controller class: public function behaviors() { return [ [ 'class' => 'yii\filters\PageCache', 'only' => ['index'], 'duration' =&

captcha\Captcha getClientOptions()

getClientOptions() protected method Returns the options for the captcha JS widget. protected array getClientOptions ( )return array The options

helpers\BaseUrl remember()

remember() public static method Remembers the specified URL so that it can be later fetched back by previous(). See also previous(). public static void remember ( $url = '', $name = null )$url string|array The URL to remember. Please refer to to() for acceptable formats. If this parameter is not specified, the currently requested URL will be used. $name string The name associated with the URL to be remembered. This can be used later by previous(). If not set, it will use yii\web\User

helpers\BaseHtmlPurifier configure()

configure() protected static method (available since version 2.0.3) Allow the extended HtmlPurifier class to set some default config options. protected static void configure ( $config )$config \HTMLPurifier_Config

debug\Module $controllerNamespace

$controllerNamespace public property The namespace that controller classes are in. This namespace will be used to load controller classes by prepending it to the controller class name. If not set, it will use the controllers sub-namespace under the namespace of this module. For example, if the namespace of this module is foo\bar, then the default controller namespace would be foo\bar\controllers. See also the guide section on autoloading to learn more about defining namespaces and how class

validators\UniqueValidator $message

$message public property The user-defined error message. When validating single attribute, it may contain the following placeholders which will be replaced accordingly by the validator: {attribute}: the label of the attribute being validated {value}: the value of the attribute being validated When validating mutliple attributes, it may contain the following placeholders: {attributes}: the labels of the attributes being validated. {values}: the values of the attributes being validated.

web\Session getCount()

getCount() public method Returns the number of items in the session. public integer getCount ( )return integer The number of session variables

sphinx\ActiveRecord $snippet

$snippet public property public string getSnippet ( $match = null, $options = [] )public void setSnippet ( $snippet )

db\Connection quoteTableName()

quoteTableName() public method Quotes a table name for use in a query. If the table name contains schema prefix, the prefix will also be properly quoted. If the table name is already quoted or contains special characters including '(', '[[' and '{{', then this method will do nothing. public string quoteTableName ( $name )$name string Table name return string The properly quoted table name