PHP Class OrderProduct

Inheritance: extends yupe\models\YModel
ファイルを表示 Open project: yupe/yupe Class Usage Examples

Public Properties

Property Type Description
$variantIds * @var $variantIds Array - массив id вариантов, котороые нужно установить у продукта
$variantsArray array

Public Methods

Method Description
afterFind ( )
afterValidate ( )
attributeLabels ( ) : array
beforeSave ( ) : boolean
getTotalPrice ( ) : float
model ( null | string $className = __CLASS__ )
relations ( ) : array
rules ( ) : array
tableName ( ) : string

Method Details

afterFind() public method

public afterFind ( )

afterValidate() public method

public afterValidate ( )

attributeLabels() public method

public attributeLabels ( ) : array
return array

beforeSave() public method

public beforeSave ( ) : boolean
return boolean

getTotalPrice() public method

public getTotalPrice ( ) : float
return float

model() public static method

public static model ( null | string $className = __CLASS__ )
$className null | string

relations() public method

public relations ( ) : array
return array

rules() public method

public rules ( ) : array
return array

tableName() public method

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

Property Details

$variantIds public_oe property

* @var $variantIds Array - массив id вариантов, котороые нужно установить у продукта
public $variantIds

$variantsArray public_oe property

public array $variantsArray
return array