PHP Class TaxRate

Inheritance: extends SugarBean
ファイルを表示 Open project: damnpoet/yiicart Class Usage Examples

Public Methods

Method Description
attributeLabels ( ) : array
getDateAdded ( $withTime = false )
getDateModified ( $withTime = false )
getType ( )
model ( string $className = __CLASS__ ) : TaxRate Returns the static model of the specified AR class.
relations ( ) : array
rules ( ) : array
tableName ( ) : string

Method Details

attributeLabels() public method

public attributeLabels ( ) : array
return array customized attribute labels (name=>label)

getDateAdded() public method

public getDateAdded ( $withTime = false )

getDateModified() public method

public getDateModified ( $withTime = false )

getType() public method

public getType ( )

model() public static method

Returns the static model of the specified AR class.
public static model ( string $className = __CLASS__ ) : TaxRate
$className string active record class name.
return TaxRate the static model class

relations() public method

public relations ( ) : array
return array relational rules.

rules() public method

public rules ( ) : array
return array validation rules for model attributes.

tableName() public method

public tableName ( ) : string
return string the associated database table name