Blesta Source Documentation

Feed extends AppController

Call data feed endpoints from an external website

Table of Contents

Methods

index() Processes the request for the desired data feed
preAction() Pre-action setup method that is called before the index method, or the set controller action
formatResponse() Formats a data feed endpoint response in to Javascript
Methods

index()

Processes the request for the desired data feed

public index() : mixed

preAction()

Pre-action setup method that is called before the index method, or the set controller action

public preAction() : mixed

formatResponse()

Formats a data feed endpoint response in to Javascript

private formatResponse(string $response) : string
Parameters
$response : string

The response of the data feed endpoint

Return values
string

The formatted response

Tags
subpackage

app.controllers

copyright

Copyright (c) 2022, Phillips Data, Inc.

license

http://www.blesta.com/license/ The Blesta License Agreement

link

Blesta


        
On this page

Search results