Documentation

AjaxView extends AppView
in package

A view class that is used for AJAX responses.

Currently only switches the default layout and sets the response type - which just maps to text/html by default.

Table of Contents

Properties

$layout  : string
The name of the layout file to render the view inside of. The name specified is the filename of the layout in /templates/Layout without the .php extension.

Methods

initialize()  : void
Initialization hook method.

Properties

$layout

The name of the layout file to render the view inside of. The name specified is the filename of the layout in /templates/Layout without the .php extension.

protected string $layout = 'ajax'

Methods

initialize()

Initialization hook method.

public initialize() : void

        
On this page

Search results