MapTutorialUsers
extends CActiveRecord
in package
This is the model class for table "{{map_tutorial_users}}".
The following are the available columns in table '{{map_tutorial_users}}':
Table of Contents
Properties
Methods
- attributeLabels() : array<string|int, mixed>
- model() : MapTutorialUsers
- Returns the static model of the specified AR class.
- relations() : array<string|int, mixed>
- rules() : array<string|int, mixed>
- search() : CActiveDataProvider
- Retrieves a list of models based on the current search/filter conditions.
- tableName() : string
Properties
$taken
public
int
$taken
$tid
public
int
$tid
$uid
public
int
$uid
Methods
attributeLabels()
public
attributeLabels() : array<string|int, mixed>
Return values
array<string|int, mixed> —customized attribute labels (name=>label)
model()
Returns the static model of the specified AR class.
public
static model([string $className = __CLASS__ ]) : MapTutorialUsers
Please note that you should have this exact method in all your CActiveRecord descendants!
Parameters
- $className : string = __CLASS__
-
active record class name.
Return values
MapTutorialUsers —the static model class
relations()
public
relations() : array<string|int, mixed>
Return values
array<string|int, mixed> —relational rules.
rules()
public
rules() : array<string|int, mixed>
Return values
array<string|int, mixed> —validation rules for model attributes.
search()
Retrieves a list of models based on the current search/filter conditions.
public
search() : CActiveDataProvider
Typical usecase:
- Initialize the model fields with values from filter form.
- Execute this method to get CActiveDataProvider instance which will filter models according to data in model fields.
- Pass data provider to CGridView, CListView or any similar widget.
Return values
CActiveDataProvider —the data provider that can return the models based on the search/filter conditions.
tableName()
public
tableName() : string
Return values
string —the associated database table name