PHP Class ApiView, Platform-API-plugin

Inheritance: extends Slim\View
Show file Open project: nodesagency/Platform-API-plugin Class Usage Examples

Protected Properties

Property Type Description
$apiFormat string apiFormat

Protected Methods

Method Description
_getViewFileName ( mixed $name = null ) : void _getViewFileName
_paths ( string $plugin = null, boolean $cached = true ) : array Return all possible paths to find view files in order

Method Details

_getViewFileName() protected method

Search relative and absolute (to the view folder) paths for which view to use for the given api call
protected _getViewFileName ( mixed $name = null ) : void
$name mixed
return void

_paths() protected method

Return all possible paths to find view files in order
protected _paths ( string $plugin = null, boolean $cached = true ) : array
$plugin string Optional plugin name to scan for view files.
$cached boolean Set to true to force a refresh of view paths.
return array paths

Property Details

$apiFormat protected property

apiFormat
protected string $apiFormat
return string