\Econda\RecEngine\Widget\ModelModelInterface

This functions are required if we want to use this as model for widget renderer

Summary

Methods
Constants
getTitle()
getProducts()
getDisableIfEmpty()
getStartIndex()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

getTitle()

getTitle() : string

Get widget title

Returns

string

getProducts()

getProducts() : array

Get array of products

Returns

array

getDisableIfEmpty()

getDisableIfEmpty() : true

True if this widget should not be displayed if there are no products to show

Returns

true

getStartIndex()

getStartIndex() : int

Get index of first product result, starting with 0.

Returns

int