class BrickVariant extends Objectbrick

Class BrickVariant

Methods

Zend_View
getView($language = null)

get View.

string|bool
renderCart()

Render Cart.

string|bool
renderInvoice()

Render Invoice.

bool|float|int|string
getValueForVariant( array $fieldInfo = array(), string $language = 'en')

Format Value from Brick Element.

mixed
getNameForVariant($fieldInfo)

Get Name for Variant Value.

Details

in Objectbrick at line line 38
Zend_View getView($language = null)

get View.

Parameters

$language

Return Value

Zend_View

in Objectbrick at line line 72
string|bool renderCart()

Render Cart.

Return Value

string|bool

in Objectbrick at line line 82
string|bool renderInvoice()

Render Invoice.

Return Value

string|bool

at line line 37
bool|float|int|string getValueForVariant( array $fieldInfo = array(), string $language = 'en')

Format Value from Brick Element.

override this class / method to implement your own formatting logic. if method returns FALSE no value will be added.

Parameters

array $fieldInfo name,type,title
string $language

Return Value

bool|float|int|string

at line line 77
mixed getNameForVariant($fieldInfo)

Get Name for Variant Value.

Parameters

$fieldInfo

Return Value

mixed