PHP Class OrderProduct

Inheritance: extends yupe\models\YModel
Afficher le fichier Open project: yupe/yupe Class Usage Examples

Méthodes publiques

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

Méthodes publiques

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

Method Details

afterFind() public méthode

public afterFind ( )

afterValidate() public méthode

public afterValidate ( )

attributeLabels() public méthode

public attributeLabels ( ) : array
Résultat array

beforeSave() public méthode

public beforeSave ( ) : boolean
Résultat boolean

getTotalPrice() public méthode

public getTotalPrice ( ) : float
Résultat float

model() public static méthode

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

relations() public méthode

public relations ( ) : array
Résultat array

rules() public méthode

public rules ( ) : array
Résultat array

tableName() public méthode

public tableName ( ) : string
Résultat 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
Résultat array