Yioop_V9.5_Source_Code_Documentation

ApiLayout extends Layout
in package

Layout used for the seek_quarry Website including pages such as search landing page and settings page

Tags
author

Eswara Rajesh Pinapala

Table of Contents

$view  : object
The view that is to be drawn on this layout
__construct()  : mixed
The constructor sets the view that will be drawn inside the Layout.
render()  : mixed
Responsible for drawing the prefix/suffix (if any for the API response)

Properties

$view

The view that is to be drawn on this layout

public object $view

Methods

__construct()

The constructor sets the view that will be drawn inside the Layout.

public __construct(object $v) : mixed
Parameters
$v : object

the View object that uses this layout

Return values
mixed

render()

Responsible for drawing the prefix/suffix (if any for the API response)

public render(array<string|int, mixed> $data) : mixed
Parameters
$data : array<string|int, mixed>

an array of data set up by the controller to be be used in drawing the WebLayout and its View.

Return values
mixed

        

Search results