ModelBuilder
in package
implements
ModelBuilderInterface
Interfaces, Classes and Traits
- ModelBuilderInterface
- Interface ModelBuilderInterface
Table of Contents
- $modelParts : mixed
- $showInProductDetails : bool
- $showInProductLists : bool
- $showInShoppingCartAndWishlist : bool
- build() : Model
- wipeData() : ModelBuilderInterface
- withModelAtPos() : ModelBuilderInterface
- withShowInProductDetails() : ModelBuilderInterface
- withShowInProductLists() : ModelBuilderInterface
- withShowInShoppingCartAndWishlist() : ModelBuilderInterface
Properties
$modelParts
protected
mixed
$modelParts
= []
$showInProductDetails
private
bool
$showInProductDetails
$showInProductLists
private
bool
$showInProductLists
$showInShoppingCartAndWishlist
private
bool
$showInShoppingCartAndWishlist
Methods
build()
public
build() : Model
Tags
Return values
Model —wipeData()
public
wipeData() : ModelBuilderInterface
Tags
Return values
ModelBuilderInterface —withModelAtPos()
public
withModelAtPos(string $model, int $pos) : ModelBuilderInterface
Parameters
- $model : string
- $pos : int
Tags
Return values
ModelBuilderInterface —withShowInProductDetails()
public
withShowInProductDetails(bool $show) : ModelBuilderInterface
Parameters
- $show : bool
Return values
ModelBuilderInterface —withShowInProductLists()
public
withShowInProductLists(bool $show) : ModelBuilderInterface
Parameters
- $show : bool
Return values
ModelBuilderInterface —withShowInShoppingCartAndWishlist()
public
withShowInShoppingCartAndWishlist(bool $show) : ModelBuilderInterface
Parameters
- $show : bool