PHP Class Manufacturer

Inheritance: extends MX_Controller
Exibir arquivo Open project: damnpoet/yiicart Class Usage Examples

Public Methods

Method Description
__get ( $name )
addToStore ( $storeId )
afterDelete ( )
attributeLabels ( ) : array
beforeDelete ( )
clearAllStoresRelations ( )
getImageWithSize ( $width, $height )
getSEOKeyword ( )
getUrlAlias ( )
model ( string $className = __CLASS__ ) : Manufacturer Returns the static model of the specified AR class.
relations ( ) : array
rules ( ) : array
tableName ( ) : string
updateSEOKeyword ( $keyword )

Method Details

__get() public method

public __get ( $name )

addToStore() public method

public addToStore ( $storeId )

afterDelete() public method

public afterDelete ( )

attributeLabels() public method

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

beforeDelete() public method

public beforeDelete ( )

clearAllStoresRelations() public method

getImageWithSize() public method

public getImageWithSize ( $width, $height )

getSEOKeyword() public method

public getSEOKeyword ( )

getUrlAlias() public method

public getUrlAlias ( )

model() public static method

Returns the static model of the specified AR class.
public static model ( string $className = __CLASS__ ) : Manufacturer
$className string active record class name.
return Manufacturer 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

updateSEOKeyword() public method

public updateSEOKeyword ( $keyword )