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. |
luya\admin\ngrest\base\NgRestModel |
__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 |
addNgRestServiceData() |
|
luya\admin\ngrest\base\NgRestModel |
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. |
luya\admin\ngrest\base\NgRestModel |
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\User |
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 |
changePassword() |
The method which is going to change the password on the current model. |
luya\admin\models\User |
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 |
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 |
encodePassword() |
Encodes the current active record password field. |
luya\admin\models\User |
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 |
fieldStateDescriber() |
Describes the fields shoudl be used to the perform the soft deleteion tasks. |
luya\admin\traits\SoftDeleteTrait |
fields() |
Return sensitive fields from api exposure. |
luya\admin\models\User |
find() |
Creates an yii\db\ActiveQueryInterface instance for query purpose. |
luya\admin\ngrest\base\NgRestModel |
findActiveQueryBehaviors() |
Attach behaviors to the Active Query. |
luya\admin\ngrest\base\NgRestModel |
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 |
findByEmail() |
Finds a current user for a given email. |
luya\admin\models\User |
findBySql() |
Creates an yii\db\ActiveQuery instance with a given SQL statement. |
yii\db\ActiveRecord |
findIdentity() |
Finds an identity by the given ID. |
luya\admin\models\User |
findIdentityByAccessToken() |
Finds an identity by the given token. |
luya\admin\models\User |
findLatestPrimaryKeyValue() |
Get an array with the latest primary key value. |
luya\admin\ngrest\base\NgRestModel |
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 |
generateNgRestRelations() |
Generate an array with NgRestRelation objects |
luya\admin\ngrest\base\NgRestModel |
generateResetEmail() |
|
luya\admin\models\User |
generateTokenEmail() |
Render user token based email: |
luya\admin\models\User |
genericSearch() |
The Query which is going to be performend to the concret implementation. |
luya\admin\ngrest\base\NgRestModel |
genericSearchFields() |
The fields to lookup with the search query. |
luya\admin\models\User |
genericSearchHiddenFields() |
An array with fields which will be hidden in the search output, but are available for the State Provider functions. |
luya\admin\ngrest\base\NgRestModel |
genericSearchStateProvider() |
The state provider is used to click on the items. Retuns an array with a configuration for the
angular state provider. Example |
luya\admin\ngrest\base\NgRestModel |
getActiveValidators() |
Returns the validators applicable to the current $scenario. |
yii\base\Model |
getAndStoreEmailVerificationToken() |
Generate and save a email verification token and return the token. |
luya\admin\models\User |
getAndStoreToken() |
Generate, store and return the secure Login token. |
luya\admin\models\User |
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 |
getAuthKey() |
Returns a key that can be used to check the validity of a given identity ID. |
luya\admin\models\User |
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 |
getDevices() |
Devices Active Query |
luya\admin\models\User |
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 |
getGroups() |
Return the current related groups. |
luya\admin\models\User |
getI18nOldValue() |
Get the old/original i18n value from the database. |
luya\admin\ngrest\base\NgRestModel |
getId() |
Returns an ID that can uniquely identify a user identity. |
luya\admin\models\User |
getIsNewRecord() |
Returns a value indicating whether the current record is new. |
yii\db\BaseActiveRecord |
getIsNgRestContext() |
Whether the current model is in api context (REST SCENARIOS or CALL TYPE) context or not. |
luya\admin\ngrest\base\NgRestModel |
getIterator() |
Returns an iterator for traversing the attributes in the model. |
yii\base\Model |
getLastloginTimestamp() |
Get the last login Timestamp |
luya\admin\models\User |
getNgRestCallType() |
Determine the current call type based on get params as they can change the output behavior to make the ngrest crud list view. |
luya\admin\ngrest\base\NgRestModel |
getNgRestConfig() |
Build and call the full config object if not build yet for this model. |
luya\admin\ngrest\base\NgRestModel |
getNgRestPrimaryKey() |
Getter method for NgRest Primary Key. |
luya\admin\ngrest\base\NgRestModel |
getNgRestRelationByIndex() |
Get the NgRest Relation definition object. |
luya\admin\ngrest\base\NgRestModel |
getNgRestScopeConfigOptions() |
Return the scope definition third entry looking for button condition
Currently support only buttonCondition |
luya\admin\ngrest\base\NgRestModel |
getNgRestServices() |
Triggers the event service event and returns the resolved data. |
luya\admin\ngrest\base\NgRestModel |
getNgrestLogs() |
Get all ngrest log entries for this user. |
luya\admin\models\User |
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 |
getSetting() |
Get user settings objects. |
luya\admin\models\User |
getTableSchema() |
Returns the schema information of the DB table associated with this AR class. |
yii\db\ActiveRecord |
getTitleNamed() |
Get the title Mr, Mrs. as string for the current user. |
luya\admin\models\User |
getTitles() |
Returns the available titles (mr, mrs index by numberic identifier |
luya\admin\models\User |
getUserLogins() |
Get the user logins for the given user. |
luya\admin\models\User |
getValidators() |
Returns all the validators declared in rules(). |
yii\base\Model |
handleNgRestActiveButton() |
Handle a given active button based on the hash (classname in sha1). |
luya\admin\ngrest\base\NgRestModel |
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 |
i18nAttributeFallbackValue() |
Returns the value for an i18n field before it was casted to the output for the current active language if empty. |
luya\admin\ngrest\base\NgRestModel |
i18nAttributeLanguageValue() |
Returns the value of an i18n attribute for the given language. |
luya\admin\ngrest\base\NgRestModel |
i18nAttributeValue() |
Checks whether given attribute is in the list of i18n fields, if so
the field value will be decoded and the value for the current active
language is returned. |
luya\admin\ngrest\base\NgRestModel |
i18nAttributesValue() |
Returns the decoded i18n value for a set of attributes. |
luya\admin\ngrest\base\NgRestModel |
init() |
Initializes the object. |
luya\admin\models\User |
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 |
internalAndWhere() |
This method will be used to performe the where querys of ngrestFind() and find() of the ActiveRecord. |
luya\admin\traits\SoftDeleteTrait |
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 |
isI18n() |
Whether a field is i18n or not. |
luya\admin\ngrest\base\NgRestModel |
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 |
markAttributeDirty() |
Marks an attribute dirty. |
yii\db\BaseActiveRecord |
ngRestActiveButtons() |
Define Active Buttons. |
luya\admin\ngrest\base\NgRestModel |
ngRestActiveSelections() |
Define Active Selections. |
luya\admin\ngrest\base\NgRestModel |
ngRestActiveWindows() |
Define Active Window configurations. |
luya\admin\models\User |
ngRestApiEndpoint() |
Defines the Api Endpoint for the current Active Record model. |
luya\admin\models\User |
ngRestAttributeGroups() |
Grouping fields into fieldset similar group names which can be collapsed by default or not: |
luya\admin\ngrest\base\NgRestModel |
ngRestAttributeTypes() |
Define the field types for ngrest, to use ngRestConfigDefine() . |
luya\admin\models\User |
ngRestByPrimaryKeyOne() |
The a single object from a primary key definition. |
luya\admin\ngrest\base\NgRestModel |
ngRestConfig() |
Defines the base inline configuration for the current Model. |
luya\admin\ngrest\base\NgRestModel |
ngRestConfigDefine() |
Inject data from the model into the config, usage exmple in ngRestConfig method context: |
luya\admin\ngrest\base\NgRestModel |
ngRestConfigOptions() |
The NgRest config has an options property which can contain a variaty of definitions. |
luya\admin\ngrest\base\NgRestModel |
ngRestExport() |
Format the values for export generator. |
luya\admin\models\User |
ngRestFilters() |
Define an array with filters you can select from the CRUD list. |
luya\admin\models\User |
ngRestFind() |
The NgRestFind is used when performing the crud list index overivew. You
can override this method in order to hide data from the ngRestFind command
which populates all data from the database. |
luya\admin\models\User |
ngRestFullQuerySearch() |
Search trough the whole table as ajax fallback when pagination is enabled. |
luya\admin\ngrest\base\NgRestModel |
ngRestGroupByExpanded() |
When enabled, the field groups in the form are by default expanded (open) or not (closed). |
luya\admin\ngrest\base\NgRestModel |
ngRestGroupByField() |
Enable the Grouping by a field option by default. Allows you to predefine the default group field. |
luya\admin\ngrest\base\NgRestModel |
ngRestListOrder() |
Define the default ordering for the ngrest list when loading, by default the primary key
sorted ascending is used. To override the method for example sorting by a timestamp field: |
luya\admin\models\User |
ngRestPools() |
Define data pools. |
luya\admin\ngrest\base\NgRestModel |
ngRestRelations() |
Define your relations in order to access the relation data and manage them directly in the same view. |
luya\admin\ngrest\base\NgRestModel |
ngRestScopes() |
Defines the scope which field should be used for what situation. |
luya\admin\models\User |
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 |
resetEmailVerification() |
Reset the user model email verification token and timestamp |
luya\admin\models\User |
rules() |
Returns the validation rules for attributes. |
luya\admin\models\User |
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. |
luya\admin\models\User |
setAttribute() |
Sets the named attribute value. |
yii\db\BaseActiveRecord |
setAttributes() |
Sets the attribute values in a massive way. |
yii\base\Model |
setI18nOldValue() |
Set the old json value from a i18n database value. |
luya\admin\ngrest\base\NgRestModel |
setIsNewRecord() |
Sets the value indicating whether the record is new. |
yii\db\BaseActiveRecord |
setNgRestPrimaryKey() |
Setter method for NgRest Primary Key |
luya\admin\ngrest\base\NgRestModel |
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\User |
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 |
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 |
updateSettings() |
Setter method for user settings which encodes the json. |
luya\admin\models\User |
validate() |
Performs the data validation. |
yii\base\Model |
validateAuthKey() |
Validates the given auth key. |
luya\admin\models\User |
validateMultiple() |
Validates multiple models. |
yii\base\Model |
validatePassword() |
Validates the password for the current given user. |
luya\admin\models\User |