PHP 클래스 Mage2\Catalog\Models\Product

상속: extends Mage2\Framework\System\Models\BaseModel
파일 보기 프로젝트 열기: mage2/laravel-ecommerce 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$defaultWebsiteId
$fillable
$isDefaultWebsite
$websiteId

공개 메소드들

메소드 설명
__construct ( array $attributes = [] )
categories ( )
getAttribute ( $key )
getFeaturedProducts ( $paginate = 4 )
getPrice ( ) *
getProductImages ( $first = false )
getReviews ( )
getTaxAmount ( )
orders ( )
relatedProducts ( )
reviews ( )
websites ( )

비공개 메소드들

메소드 설명
_getProductDatetimeValue ( $productAttribute )
_getProductFloatValue ( $productAttribute )
_getProductIntegerValue ( $productAttribute )
_getProductTextValue ( $productAttribute )
_getProductVarcharValue ( $productAttribute )

메소드 상세

__construct() 공개 메소드

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

categories() 공개 메소드

public categories ( )

getAttribute() 공개 메소드

public getAttribute ( $key )

getFeaturedProducts() 공개 메소드

public getFeaturedProducts ( $paginate = 4 )

getPrice() 공개 메소드

*
public getPrice ( )

getProductImages() 공개 메소드

public getProductImages ( $first = false )

getReviews() 공개 메소드

public getReviews ( )

getTaxAmount() 공개 메소드

public getTaxAmount ( )

orders() 공개 메소드

public orders ( )

relatedProducts() 공개 메소드

public relatedProducts ( )

reviews() 공개 메소드

public reviews ( )

websites() 공개 메소드

public websites ( )

프로퍼티 상세

$defaultWebsiteId 보호되어 있는 프로퍼티

protected $defaultWebsiteId

$fillable 보호되어 있는 프로퍼티

protected $fillable

$isDefaultWebsite 보호되어 있는 프로퍼티

protected $isDefaultWebsite

$websiteId 보호되어 있는 프로퍼티

protected $websiteId