Method |
Description |
Defined By |
__call() |
Calls the named method which is not a class method. |
yii\base\Component |
__clone() |
This method is called after the object is created by cloning an existing one. |
yii\base\Model |
__construct() |
Constructor. |
yii\base\BaseObject |
__get() |
PHP getter magic method. |
yii\db\BaseActiveRecord |
__isset() |
Checks if a property value is null. |
yii\db\BaseActiveRecord |
__set() |
PHP setter magic method. |
yii\db\BaseActiveRecord |
__unset() |
Sets a component property to be null. |
yii\db\BaseActiveRecord |
activeAttributes() |
Returns the attribute names that are subject to validation in the current scenario. |
yii\base\Model |
addError() |
Adds a new error to the specified attribute. |
yii\base\Model |
addErrors() |
Adds a list of errors. |
yii\base\Model |
afterDelete() |
This method is invoked after deleting a record. |
yii\db\BaseActiveRecord |
afterFind() |
This method is called when the AR object is created and populated with the query result. |
yii\db\BaseActiveRecord |
afterRefresh() |
This method is called when the AR object is refreshed. |
yii\db\BaseActiveRecord |
afterSave() |
This method is called at the end of inserting or updating a record. |
yii\db\BaseActiveRecord |
afterValidate() |
This method is invoked after validation ends. |
yii\base\Model |
attachBehavior() |
Attaches a behavior to this component. |
yii\base\Component |
attachBehaviors() |
Attaches a list of behaviors to the component. |
yii\base\Component |
attributeHints() |
Returns the attribute hints. |
yii\base\Model |
attributeLabels() |
Returns the attribute labels. |
luya\admin\models\UserOnline |
attributes() |
Returns the list of all attribute names of the model. |
yii\db\ActiveRecord |
beforeDelete() |
This method is invoked before deleting a record. |
yii\db\BaseActiveRecord |
beforeSave() |
This method is called at the beginning of inserting or updating a record. |
yii\db\BaseActiveRecord |
beforeValidate() |
This method is invoked before validation starts. |
yii\base\Model |
behaviors() |
Returns a list of behaviors that this component should behave as. |
yii\base\Component |
canGetProperty() |
Returns a value indicating whether a property can be read. |
yii\db\BaseActiveRecord |
canSetProperty() |
Returns a value indicating whether a property can be set. |
yii\db\BaseActiveRecord |
className() |
Returns the fully qualified name of this class. |
yii\base\BaseObject |
clearErrors() |
Removes errors for all attributes or a single attribute. |
yii\base\Model |
clearList() |
Clear all users which are not logged in anymore. |
luya\admin\models\UserOnline |
createValidators() |
Creates validator objects based on the validation rules specified in rules(). |
yii\base\Model |
delete() |
Deletes the table row corresponding to this active record. |
yii\db\ActiveRecord |
deleteAll() |
Deletes rows in the table using the provided conditions. |
yii\db\ActiveRecord |
detachBehavior() |
Detaches a behavior from the component. |
yii\base\Component |
detachBehaviors() |
Detaches all behaviors from the component. |
yii\base\Component |
ensureBehaviors() |
Makes sure that the behaviors declared in behaviors() are attached to this component. |
yii\base\Component |
equals() |
Returns a value indicating whether the given active record is the same as the current one. |
yii\db\ActiveRecord |
fields() |
Returns the list of fields that should be returned by default by toArray() when no specific fields are specified. |
yii\db\BaseActiveRecord |
find() |
Creates an yii\db\ActiveQueryInterface instance for query purpose. |
yii\db\ActiveRecord |
findAll() |
Returns a list of active record models that match the specified primary key value(s) or a set of column values. |
yii\db\BaseActiveRecord |
findBySql() |
Creates an yii\db\ActiveQuery instance with a given SQL statement. |
yii\db\ActiveRecord |
findOne() |
Returns a single active record model instance by a primary key or an array of column values. |
yii\db\BaseActiveRecord |
formName() |
Returns the form name that this model class should use. |
yii\base\Model |
generateAttributeLabel() |
Generates a user friendly attribute label based on the give attribute name. |
yii\base\Model |
getActiveValidators() |
Returns the validators applicable to the current $scenario. |
yii\base\Model |
getAttribute() |
Returns the named attribute value. |
yii\db\BaseActiveRecord |
getAttributeHint() |
Returns the text hint for the specified attribute. |
yii\db\BaseActiveRecord |
getAttributeLabel() |
Returns the text label for the specified attribute. |
yii\db\BaseActiveRecord |
getAttributes() |
Returns attribute values. |
yii\base\Model |
getBehavior() |
Returns the named behavior object. |
yii\base\Component |
getBehaviors() |
Returns all behaviors attached to this component. |
yii\base\Component |
getDb() |
Returns the database connection used by this AR class. |
yii\db\ActiveRecord |
getDirtyAttributes() |
Returns the attribute values that have been modified since they are loaded or saved most recently. |
yii\db\BaseActiveRecord |
getErrorSummary() |
Returns the errors for all attributes as a one-dimensional array. |
yii\base\Model |
getErrors() |
Returns the errors for all attributes or a single attribute. |
yii\base\Model |
getFirstError() |
Returns the first error of the specified attribute. |
yii\base\Model |
getFirstErrors() |
Returns the first error of every attribute in the model. |
yii\base\Model |
getIsNewRecord() |
Returns a value indicating whether the current record is new. |
yii\db\BaseActiveRecord |
getIterator() |
Returns an iterator for traversing the attributes in the model. |
yii\base\Model |
getList() |
Get the user online list. |
luya\admin\models\UserOnline |
getOldAttribute() |
Returns the old value of the named attribute. |
yii\db\BaseActiveRecord |
getOldAttributes() |
Returns the old attribute values. |
yii\db\BaseActiveRecord |
getOldPrimaryKey() |
Returns the old primary key value(s). |
yii\db\BaseActiveRecord |
getPrimaryKey() |
Returns the primary key value(s). |
yii\db\BaseActiveRecord |
getRelatedRecords() |
Returns all populated related records. |
yii\db\BaseActiveRecord |
getRelation() |
Returns the relation object with the specified name. |
yii\db\BaseActiveRecord |
getScenario() |
Returns the scenario that this model is used in. |
yii\base\Model |
getTableSchema() |
Returns the schema information of the DB table associated with this AR class. |
yii\db\ActiveRecord |
getUser() |
|
luya\admin\models\UserOnline |
getValidators() |
Returns all the validators declared in rules(). |
yii\base\Model |
hasAttribute() |
Returns a value indicating whether the model has an attribute with the specified name. |
yii\db\BaseActiveRecord |
hasErrors() |
Returns a value indicating whether there is any validation error. |
yii\base\Model |
hasEventHandlers() |
Returns a value indicating whether there is any handler attached to the named event. |
yii\base\Component |
hasMany() |
See yii\db\BaseActiveRecord::hasMany() for more info. |
yii\db\ActiveRecord |
hasMethod() |
Returns a value indicating whether a method is defined. |
yii\base\Component |
hasOne() |
See yii\db\BaseActiveRecord::hasOne() for more info. |
yii\db\ActiveRecord |
hasProperty() |
Returns a value indicating whether a property is defined for this component. |
yii\base\Component |
init() |
Initializes the object. |
yii\db\BaseActiveRecord |
insert() |
Inserts a row into the associated database table using the attribute values of this record. |
yii\db\ActiveRecord |
instance() |
Returns static class instance, which can be used to obtain meta information. |
yii\base\StaticInstanceTrait |
instantiate() |
Creates an active record instance. |
yii\db\BaseActiveRecord |
isAttributeActive() |
Returns a value indicating whether the attribute is active in the current scenario. |
yii\base\Model |
isAttributeChanged() |
Returns a value indicating whether the named attribute has been changed. |
yii\db\BaseActiveRecord |
isAttributeRequired() |
Returns a value indicating whether the attribute is required. |
yii\base\Model |
isAttributeSafe() |
Returns a value indicating whether the attribute is safe for massive assignments. |
yii\base\Model |
isPrimaryKey() |
Returns a value indicating whether the given set of attributes represents the primary key for this model. |
yii\db\BaseActiveRecord |
isRelationPopulated() |
Check whether the named relation has been populated with records. |
yii\db\BaseActiveRecord |
isTransactional() |
Returns a value indicating whether the specified operation is transactional in the current $scenario. |
yii\db\ActiveRecord |
link() |
Establishes the relationship between two models. |
yii\db\BaseActiveRecord |
load() |
Populates the model with input data. |
yii\base\Model |
loadDefaultValues() |
Loads default values from database table schema. |
yii\db\ActiveRecord |
loadMultiple() |
Populates a set of models with the data from end user. |
yii\base\Model |
lock() |
Lock the user for an action. |
luya\admin\models\UserOnline |
markAttributeDirty() |
Marks an attribute dirty. |
yii\db\BaseActiveRecord |
off() |
Detaches an existing event handler from this component. |
yii\base\Component |
offsetExists() |
Returns whether there is an element at the specified offset. |
yii\db\BaseActiveRecord |
offsetGet() |
Returns the element at the specified offset. |
yii\base\Model |
offsetSet() |
Sets the element at the specified offset. |
yii\base\Model |
offsetUnset() |
Sets the element value at the specified offset to null. |
yii\db\BaseActiveRecord |
on() |
Attaches an event handler to an event. |
yii\base\Component |
onUnsafeAttribute() |
This method is invoked when an unsafe attribute is being massively assigned. |
yii\base\Model |
optimisticLock() |
Returns the name of the column that stores the lock version for implementing optimistic locking. |
yii\db\BaseActiveRecord |
populateRecord() |
Populates an active record object using a row of data from the database/storage. |
yii\db\ActiveRecord |
populateRelation() |
Populates the named relation with the related records. |
yii\db\BaseActiveRecord |
primaryKey() |
Returns the primary key name(s) for this AR class. |
yii\db\ActiveRecord |
refresh() |
Repopulates this active record with the latest data. |
yii\db\ActiveRecord |
refreshUser() |
Refresh the state of the current user, or add if not exists. |
luya\admin\models\UserOnline |
removeUser() |
Remove all rows for a given User Id. |
luya\admin\models\UserOnline |
rules() |
Returns the validation rules for attributes. |
luya\admin\models\UserOnline |
safeAttributes() |
Returns the attribute names that are safe to be massively assigned in the current scenario. |
yii\base\Model |
save() |
Saves the current record. |
yii\db\BaseActiveRecord |
scenarios() |
Returns a list of scenarios and the corresponding active attributes. |
yii\base\Model |
setAttribute() |
Sets the named attribute value. |
yii\db\BaseActiveRecord |
setAttributes() |
Sets the attribute values in a massive way. |
yii\base\Model |
setIsNewRecord() |
Sets the value indicating whether the record is new. |
yii\db\BaseActiveRecord |
setOldAttribute() |
Sets the old value of the named attribute. |
yii\db\BaseActiveRecord |
setOldAttributes() |
Sets the old attribute values. |
yii\db\BaseActiveRecord |
setScenario() |
Sets the scenario for the model. |
yii\base\Model |
tableName() |
Declares the name of the database table associated with this AR class. |
luya\admin\models\UserOnline |
toArray() |
Converts the model into an array. |
yii\base\ArrayableTrait |
transactions() |
Declares which DB operations should be performed within a transaction in different scenarios. |
yii\db\ActiveRecord |
trigger() |
Triggers an event. |
yii\base\Component |
unlink() |
Destroys the relationship between two models. |
yii\db\BaseActiveRecord |
unlinkAll() |
Destroys the relationship in current model. |
yii\db\BaseActiveRecord |
unlock() |
Unlock the user from an action. |
luya\admin\models\UserOnline |
update() |
Saves the changes to this active record into the associated database table. |
yii\db\ActiveRecord |
updateAll() |
Updates the whole table using the provided attribute values and conditions. |
yii\db\ActiveRecord |
updateAllCounters() |
Updates the whole table using the provided counter changes and conditions. |
yii\db\ActiveRecord |
updateAttributes() |
Updates the specified attributes. |
yii\db\BaseActiveRecord |
updateCounters() |
Updates one or several counter columns for the current AR object. |
yii\db\BaseActiveRecord |
validate() |
Performs the data validation. |
yii\base\Model |
validateMultiple() |
Validates multiple models. |
yii\base\Model |