\TriTan\Interfaces\PluginPluginFileInterface

Summary

Methods
Constants
basename()
path()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

basename()

basename(string  $filename) : string

Plugin Basename

The method extracts the file name of a specific plugin.

Parameters

string $filename

Plugin's file name.

Returns

string —

The file name of the plugin.

path()

path(string  $filename) : string

Get the filesystem directory path (with trailing slash) for the plugin __FILE__ passed in.

Parameters

string $filename

The filename of the plugin (FILE).

Returns

string —

The filesystem path of the directory that contains the plugin.