PHP Class Mage2\Catalog\Models\Product

Inheritance: extends Mage2\Framework\System\Models\BaseModel
Datei anzeigen Open project: mage2/laravel-ecommerce Class Usage Examples

Protected Properties

Property Type Description
$defaultWebsiteId
$fillable
$isDefaultWebsite
$websiteId

Public Methods

Method Description
__construct ( array $attributes = [] )
categories ( )
getAttribute ( $key )
getFeaturedProducts ( $paginate = 4 )
getPrice ( ) *
getProductImages ( $first = false )
getReviews ( )
getTaxAmount ( )
orders ( )
relatedProducts ( )
reviews ( )
websites ( )

Private Methods

Method Description
_getProductDatetimeValue ( $productAttribute )
_getProductFloatValue ( $productAttribute )
_getProductIntegerValue ( $productAttribute )
_getProductTextValue ( $productAttribute )
_getProductVarcharValue ( $productAttribute )

Method Details

__construct() public method

public __construct ( array $attributes = [] )
$attributes array

categories() public method

public categories ( )

getAttribute() public method

public getAttribute ( $key )

getFeaturedProducts() public method

public getFeaturedProducts ( $paginate = 4 )

getPrice() public method

*
public getPrice ( )

getProductImages() public method

public getProductImages ( $first = false )

getReviews() public method

public getReviews ( )

getTaxAmount() public method

public getTaxAmount ( )

orders() public method

public orders ( )

relatedProducts() public method

public relatedProducts ( )

reviews() public method

public reviews ( )

websites() public method

public websites ( )

Property Details

$defaultWebsiteId protected_oe property

protected $defaultWebsiteId

$fillable protected_oe property

protected $fillable

$isDefaultWebsite protected_oe property

protected $isDefaultWebsite

$websiteId protected_oe property

protected $websiteId