Heratio Framework API Reference

StandaloneViewerController
in package

Universal entity viewer for standalone mode.

Loads any AtoM entity by slug using Laravel Query Builder and renders a generic detail view showing all i18n fields. Used when the original action classes (sfIsadPlugin, sfIsaarPlugin, etc.) cannot be loaded because they depend on Propel/Symfony.

Supports: InformationObject, Actor, Repository, Term, Accession, Function, RightsHolder, Donor, PhysicalObject, StaticPage.

Table of Contents

Methods

home()  : Response
Render the home page (static page with slug='home').
show()  : Response
Show an entity detail page by slug.

Methods

home()

Render the home page (static page with slug='home').

public home(Request $request) : Response
Parameters
$request : Request
Return values
Response

show()

Show an entity detail page by slug.

public show(Request $request[, string $module = '' ]) : Response
Parameters
$request : Request

The HTTP request (must have 'slug' route parameter)

$module : string = ''

The resolved module name (e.g., 'sfIsadPlugin')

Return values
Response

        
On this page

Search results