Restaurant_Information implements Component

Handles the display of basic restaurant information (address, opening times, etc).

Tags
author

Barn2 Plugins support@barn2.com

license

GPL-3.0

copyright

Barn2 Media Ltd

Interfaces, Classes and Traits

Component
Represents a restaurant menu component that can be rendered.

Table of Contents

$availability  : Availability_Options
$restaurant_info  : Information_Options
$template_loader  : mixed
__construct()  : mixed
render()  : string
Renders the component. HTML is returned, not echoed.
render_js_templates()  : mixed
are_opening_hours_valid()  : mixed
can_render_template()  : mixed
get_image_folder_url()  : mixed
get_template_args()  : mixed
load_js_template()  : mixed

Properties

Methods

render()

Renders the component. HTML is returned, not echoed.

public render() : string
Tags
Return values
string

The component output.

are_opening_hours_valid()

private are_opening_hours_valid() : mixed
Tags
Return values
mixed

can_render_template()

private can_render_template(mixed $template_args) : mixed
Parameters
$template_args : mixed
Tags
Return values
mixed

Search results