HCE Project DC service web UI  0.2
Hierarchical Cluster Engine DC service web UI
 All Classes Namespaces Files Functions Variables Pages
AccountTypesLimits Class Reference

Public Member Functions

 tableName ()
 rules ()
 relations ()
 attributeLabels ()
 search ()
 getAccountTypesLimitsList ($userId, $limitsKey, $jsonFormat=false)

Static Public Member Functions

static model ($className=__CLASS__)

Protected Member Functions

 beforeDelete ()

Private Member Functions

 __getAccountTypesLimitsData ($userId, $limitsKey)

Detailed Description

Definition at line 12 of file AccountTypesLimits.php.

Member Function Documentation

AccountTypesLimits::__getAccountTypesLimitsData (   $userId,
  $limitsKey 
)
private

Returns account types limits data.

Parameters
integer$userId
string$limitsKey
Returns
object AccountTypesLimits

Definition at line 147 of file AccountTypesLimits.php.

Here is the call graph for this function:

Here is the caller graph for this function:

AccountTypesLimits::attributeLabels ( )
Returns
array customized attribute labels (name=>label)

Definition at line 55 of file AccountTypesLimits.php.

AccountTypesLimits::beforeDelete ( )
protected

Definition at line 106 of file AccountTypesLimits.php.

Here is the call graph for this function:

AccountTypesLimits::getAccountTypesLimitsList (   $userId,
  $limitsKey,
  $jsonFormat = false 
)

Returns account types limits list.

Parameters
integer$userId
string$limitsKey
boolean$jsonFormat
Returns
array/string

Definition at line 124 of file AccountTypesLimits.php.

Here is the call graph for this function:

static AccountTypesLimits::model (   $className = __CLASS__)
static

Returns the static model of the specified AR class. Please note that you should have this exact method in all your CActiveRecord descendants!

Parameters
string$classNameactive record class name.
Returns
AccountTypesLimits the static model class

Definition at line 101 of file AccountTypesLimits.php.

Here is the caller graph for this function:

AccountTypesLimits::relations ( )
Returns
array relational rules.

Definition at line 43 of file AccountTypesLimits.php.

AccountTypesLimits::rules ( )
Returns
array validation rules for model attributes.

Definition at line 25 of file AccountTypesLimits.php.

AccountTypesLimits::search ( )

Retrieves a list of models based on the current search/filter conditions.

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.
Returns
CActiveDataProvider the data provider that can return the models based on the search/filter conditions.

Definition at line 77 of file AccountTypesLimits.php.

AccountTypesLimits::tableName ( )
Returns
string the associated database table name

Definition at line 17 of file AccountTypesLimits.php.


The documentation for this class was generated from the following file: