\APIwesomeAdmin
APIwesome CMS interface for managing JSON/XML output configuration of an individual data object type.
@author Nathan Glasl <nathan@symbiote.com.au>
Synopsis
class APIwesomeAdmin
extends ModelAdmin
{
- // members
- private static string $managed_models = 'DataObjectOutputConfiguration';
- private static string $menu_title = 'JSON/XML';
- private static string $menu_description = 'The <strong>JSON/XML</strong> feed will only be available to data objects with attribute visibility set through here. All data objects are included by default, unless exclusions or inclusions have explicitly been defined.';
- private static string $url_segment = 'json-xml';
- // methods
- public void getEditForm()
Hierarchy
Extends
- ModelAdmin
Members
private
- $managed_models
- $url_segment
Methods
public
- getEditForm() — Update the custom summary fields to be sortable, and remove the add functionality.