RefineIt\Support\TemplatesResource
Synopsis
class TemplatesResource
extends ResourceBase
{
- // Inherited members from ResourceBase
- protected $root_path;
- protected $root_url;
- // methods
- public void __construct()
- public void render()
- // Inherited methods from ResourceBase
- public void __construct()
- public bool is_url_accessible()
- public string path()
- public string url()
Hierarchy
Members
protected
- $root_path
—
string
Absolute path to resource folder in question. - $root_url
—
string
Absolute URL to resource folder in question.
Methods
public
- __construct() — Constructor.
- render() — Render template.
Inherited from RefineIt\Support\Plugin\ResourceBase
public
- is_url_accessible() — Checks if resource is accessible via URL.
- path() — Gets absolute path of an item in resource folder.
- url() — Gets absolute URL of an item in resource folder.