sphinx\ActiveRecord primaryKey()

primaryKey() public static method Returns the primary key name for this AR class. The default implementation will return the primary key as declared in the Sphinx index, which is associated with this AR class. Note that an array should be returned even for a table with single primary key. public static string[] primaryKey ( )return string[] The primary keys of the associated Sphinx index.

i18n\I18N getMessageFormatter()

getMessageFormatter() public method Returns the message formatter instance. public yii\i18n\MessageFormatter getMessageFormatter ( )return yii\i18n\MessageFormatter The message formatter to be used to format message via ICU message format.

mutex\OracleMutex init()

init() public method Initializes Oracle specific mutex component implementation. public void init ( )throws yii\base\InvalidConfigException if $db is not Oracle connection.

Events

Event Handlers Attaching Event Handlers Event Handler Order Triggering Events Detaching Event Handlers Class-Level Event Handlers Events using interfaces Global Events Events allow you to inject custom code into existing code at certain execution points. You can attach custom code to an event so that when the event is triggered, the code gets executed automatically. For example, a mailer object may trigger a messageSent event when it successfully sends a message. If you want to keep track of t

web\View renderBodyEndHtml()

renderBodyEndHtml() protected method Renders the content to be inserted at the end of the body section. The content is rendered using the registered JS code blocks and files. protected string renderBodyEndHtml ( $ajaxMode )$ajaxMode boolean Whether the view is rendering in AJAX mode. If true, the JS scripts registered at POS_READY and POS_LOAD positions will be rendered at the end of the view like normal scripts. return string The rendered content

authclient\QQ generateAuthState()

generateAuthState() protected method Generates the auth state value. protected string generateAuthState ( )return string Auth state value.

base\DynamicModel __set()

__set() public method Sets the value of a component property. This method will check in the following order and act accordingly: a property defined by a setter: set the property value an event in the format of "on xyz": attach the handler to the event "xyz" a behavior in the format of "as xyz": attach the behavior named as "xyz" a property of a behavior: set the behavior property value Do not call this method directly as it is a PHP magic method that will be implicitly called when executing

base\Application bootstrap()

bootstrap() protected method Initializes extensions and executes bootstrap components. This method is called by init() after the application has been fully configured. If you override this method, make sure you also call the parent implementation. protected void bootstrap ( )

console\Controller ansiFormat()

ansiFormat() public method Formats a string with ANSI codes You may pass additional parameters using the constants defined in yii\helpers\Console. Example: echo $this->ansiFormat('This will be red and underlined.', Console::FG_RED, Console::UNDERLINE); public string ansiFormat ( $string )$string string The string to be formatted

web\UrlNormalizer $normalizeTrailingSlash

$normalizeTrailingSlash public property Whether trailing slash should be normalized according to the suffix settings of the rule public boolean $normalizeTrailingSlash = true