PHP Class AttributeGroupForm

AttributeGroupForm is the data structure for keeping attribute group form data. It is used by the 'create' and 'update' action of 'AttributeGroupsController'.
Inheritance: extends CFormModel
Datei anzeigen Open project: damnpoet/yiicart Class Usage Examples

Public Properties

Property Type Description
$id
$name
$sortOrder

Public Methods

Method Description
attributeLabels ( ) Declares customized attribute labels.
loadDataFromAttributeGroup ( $id )
rules ( ) Declares the validation rules.
save ( )

Method Details

attributeLabels() public method

If not declared here, an attribute would have a label that is the same as its name with the first letter in upper case.
public attributeLabels ( )

loadDataFromAttributeGroup() public method

rules() public method

Declares the validation rules.
public rules ( )

save() public method

public save ( )

Property Details

$id public_oe property

public $id

$name public_oe property

public $name

$sortOrder public_oe property

public $sortOrder