db\ActiveRecord equals()

equals() public method Returns a value indicating whether the given active record is the same as the current one. The comparison is made by comparing the table names and the primary key values of the two active records. If one of the records is new they are also considered not equal. public boolean equals ( $record )$record yii\db\ActiveRecord Record to compare to return boolean Whether the two active records refer to the same row in the same database table.

gii\CodeFile diff()

diff() public method Returns diff or false if it cannot be calculated public boolean|string diff ( )

web\Session setUseTransparentSessionID()

setUseTransparentSessionID() public method public void setUseTransparentSessionID ( $value )$value boolean Whether transparent sid support is enabled or not.

sphinx\Command prepare()

prepare() public method Prepares the SQL statement to be executed. For complex SQL statement that is to be executed multiple times, this may improve performance. For SQL statement with binding parameters, this method is invoked automatically. public void prepare ( $forRead = null )$forRead boolean Whether this method is called for a read query. If null, it means the SQL statement should be used to determine whether it is for read or write. throws yii\db\Exception if there is any DB err

helpers\BaseConsole endProgress()

endProgress() public static method Ends a progress bar that has been started by startProgress(). See also: startProgress() updateProgress() public static void endProgress ( $remove = false, $keepPrefix = true )$remove string|boolean This can be false to leave the progress bar on screen and just print a newline. If set to true, the line of the progress bar will be cleared. This may also be a string to be displayed instead of the progress bar. $keepPrefix boolean Whether to keep the pr

behaviors\TimestampBehavior getValue()

getValue() protected method Returns the value for the current attributes. This method is called by evaluateAttributes(). Its return value will be assigned to the attributes corresponding to the triggering event. In case, when the $value is null, the result of the PHP function time() will be used as value. protected mixed getValue ( $event )$event yii\base\Event The event that triggers the current attribute updating. return mixed The attribute value

authclient\clients\Twitter $requestTokenUrl

$requestTokenUrl public property OAuth request token URL. OAuth request token URL. public string $requestTokenUrl = 'https://api.twitter.com/oauth/request_token'

web\User beforeLogout()

beforeLogout() protected method This method is invoked when calling logout() to log out a user. The default implementation will trigger the EVENT_BEFORE_LOGOUT event. If you override this method, make sure you call the parent implementation so that the event is triggered. protected boolean beforeLogout ( $identity )$identity yii\web\IdentityInterface The user identity information return boolean Whether the user should continue to be logged out

console\controllers\CacheController actionIndex()

actionIndex() public method Lists the caches that can be flushed. public void actionIndex ( )

base\ErrorHandler convertExceptionToError()

convertExceptionToError() public static method Converts an exception into a PHP error. This method can be used to convert exceptions inside of methods like __toString() to PHP errors because exceptions cannot be thrown inside of them. public static void convertExceptionToError ( $exception )$exception Exception The exception to convert to a PHP error.