SproutCMS

This is the code documentation for the SproutCMS project

function getModulePath()

Gets the relative path to the module the controller lives in, or sprout itself

Usage

string $BaseController->getModulePath ( );

Return value

  • string
    'sprout' or 'modules/AwesomeModule'