PHP 클래스 CartItem, shopkit

파일 보기 프로젝트 열기: samnabi/shopkit 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$amount float
$id array
$name string
$noshipping boolean
$notax boolean
$option string
$quantity integer
$sale_amount float
$sku string
$uri string
$variant string
$weight float

공개 메소드들

메소드 설명
__construct ( string $id, PageAbstract $product, $quantity )
fullTitle ( ) : string

메소드 상세

__construct() 공개 메소드

public __construct ( string $id, PageAbstract $product, $quantity )
$id string
$product PageAbstract

fullTitle() 공개 메소드

public fullTitle ( ) : string
리턴 string sku - name - variant - option

프로퍼티 상세

$amount 공개적으로 프로퍼티

public float $amount
리턴 float

$id 공개적으로 프로퍼티

public array $id
리턴 array

$name 공개적으로 프로퍼티

public string $name
리턴 string

$noshipping 공개적으로 프로퍼티

public bool $noshipping
리턴 boolean

$notax 공개적으로 프로퍼티

public bool $notax
리턴 boolean

$option 공개적으로 프로퍼티

public string $option
리턴 string

$quantity 공개적으로 프로퍼티

public int $quantity
리턴 integer

$sale_amount 공개적으로 프로퍼티

public float $sale_amount
리턴 float

$sku 공개적으로 프로퍼티

public string $sku
리턴 string

$uri 공개적으로 프로퍼티

public string $uri
리턴 string

$variant 공개적으로 프로퍼티

public string $variant
리턴 string

$weight 공개적으로 프로퍼티

public float $weight
리턴 float