$objectsPerPage
$objectsPerPage : integer
Maximal number of objects shown on a page.
A view for a listing of favored real estate objects.
$env : \OpenEstate\PhpExport\Environment
Export environment.
__construct(\OpenEstate\PhpExport\Environment $env)
FavoriteHtml constructor.
\OpenEstate\PhpExport\Environment | $env | export environment |
addHeader(\OpenEstate\PhpExport\Html\AbstractHeadElement $element, integer $priority = 100)
Register a header element.
\OpenEstate\PhpExport\Html\AbstractHeadElement | $element | header element |
integer | $priority | priority of the element |
getEnvironment() : \OpenEstate\PhpExport\Environment
Get the export environment.
export environment
getTheme() : \OpenEstate\PhpExport\Theme\AbstractTheme
Get the theme.
theme
getThemeUrl(string $path = null, array|null $parameters = null) : string|null
Get URL to a theme file.
string | $path | relative path within the theme directory |
array|null | $parameters | associative array of URL parameters |
URL to the theme file or null, if it is not available
getUrl(\OpenEstate\PhpExport\Environment $env) : string
Get url for this view.
\OpenEstate\PhpExport\Environment | $env | export environment |
url
getObjectColumnValue(array $object, string $field, array $i18n, string $lang) : null|string
Get a column value for a specific object.
array | $object | object data |
string | $field | name of the field to show |
array | $i18n | translations |
string | $lang | language code |
HTML encoded value for the requested field