RefineIt\Info
Synopsis
class Info
implements
InfoInterface
{
- // constants
- const VALID_CONFIG_FILES = ;
- const CONFIG_FOLDER = 'config';
- // members
- protected static $config = NULL;
- // methods
- public static string root_path()
- public static string root_url()
- public static string root_plugin_path()
- public static array g()
- public static array get()
Hierarchy
Implements
- RefineIt\Support\Plugin\InfoInterface
Constants
| Name | Value |
|---|---|
| VALID_CONFIG_FILES | |
| CONFIG_FOLDER | 'config' |
Members
protected
- $config
—
mixed
Config of the scope (module) the class is in.
Methods
public
- g() — Offers access to $config variable.
- get() — Gets configuration just in one file.
- root_path() — Gets root path of the module.
- root_plugin_path() — Gets root plugin path.
- root_url() — Gets root url of the module.