base\Component detachBehavior()

detachBehavior() public method Detaches a behavior from the component. The behavior's yii\base\Behavior::detach() method will be invoked. public null|yii\base\Behavior detachBehavior ( $name )$name string The behavior's name. return null|yii\base\Behavior The detached behavior. Null if the behavior does not exist.

i18n\DbMessageSource createFallbackQuery()

createFallbackQuery() protected method (available since version 2.0.7) The method builds the yii\db\Query object for the fallback language messages search. Normally is called from loadMessagesFromDb(). See also loadMessagesFromDb(). protected yii\db\Query createFallbackQuery ( $category, $language, $fallbackLanguage )$category string The message category $language string The originally requested language $fallbackLanguage string The target fallback language

behaviors\AttributeBehavior $value

$value public property The value that will be assigned to the current attributes. This can be an anonymous function, callable in array format (e.g. [$this, 'methodName']), an \yii\behaviors\Expression object representing a DB expression (e.g. new Expression('NOW()')), scalar, string or an arbitrary value. If the former, the return value of the function will be assigned to the attributes. The signature of the function should be as follows, function ($event) { // return value will be assi

db\BaseActiveRecord getDirtyAttributes()

getDirtyAttributes() public method Returns the attribute values that have been modified since they are loaded or saved most recently. The comparison of new and old values is made for identical values using ===. public array getDirtyAttributes ( $names = null )$names string[]|null The names of the attributes whose values may be returned if they are changed recently. If null, attributes() will be used. return array The changed attribute values (name-value pairs)

gii\generators\model\Generator generateRelations()

generateRelations() protected method protected array generateRelations ( )return array The generated relation declarations

validators\Validator clientValidateAttribute()

clientValidateAttribute() public method Returns the JavaScript needed for performing client-side validation. You may override this method to return the JavaScript validation code if the validator can support client-side validation. The following JavaScript variables are predefined and can be used in the validation code: attribute: an object describing the the attribute being validated. value: the value being validated. messages: an array used to hold the validation error messages for the

captcha\Captcha $captchaAction

$captchaAction public property The route of the action that generates the CAPTCHA images. The action represented by this route must be an action of yii\captcha\CaptchaAction. Please refer to yii\helpers\Url::toRoute() for acceptable formats. public string|array $captchaAction = 'site/captcha'

db\pgsql\Schema createQueryBuilder()

createQueryBuilder() public method Creates a query builder for the PostgreSQL database. public yii\db\pgsql\QueryBuilder createQueryBuilder ( )return yii\db\pgsql\QueryBuilder Query builder instance

widgets\ActiveForm $validateOnChange

$validateOnChange public property Whether to perform validation when the value of an input field is changed. If yii\widgets\ActiveField::$validateOnChange is set, its value will take precedence for that input field. public boolean $validateOnChange = true

mongodb\file\StreamWrapper register()

register() public static method Registers this steam wrapper. public static void register ( $protocol = 'gridfs', $force = false )$protocol string Name of the protocol to be used. $force boolean Whether to register wrapper, even if protocol is already taken.