PHP Class LukePOLO\LaraCart\CartSubItem

显示文件 Open project: lukepolo/laracart Class Usage Examples

Public Properties

Property Type Description
$internationalFormat
$locale

Public Methods

Method Description
__construct ( $options )
find ( $data ) : mixed Search for matching options on the item.
getHash ( ) : mixed Gets the hash for the item.
price ( boolean | true $format = true, boolean $taxedItemsOnly = true ) : string Gets the formatted price.

Method Details

__construct() public method

public __construct ( $options )
$options

find() public method

Search for matching options on the item.
public find ( $data ) : mixed
return mixed

getHash() public method

Gets the hash for the item.
public getHash ( ) : mixed
return mixed

price() public method

Gets the formatted price.
public price ( boolean | true $format = true, boolean $taxedItemsOnly = true ) : string
$format boolean | true
$taxedItemsOnly boolean
return string

Property Details

$internationalFormat public_oe property

public $internationalFormat

$locale public_oe property

public $locale