
Static Public Member Functions | |
| static | getFullPath ($type) |
| Build a complete URL (includes protocol/host). | |
| static | getRelPath ($type) |
| Build a relative URL (does not include protocol/host). | |
SPath generates a number of commonly used URLs, such as those to the server, project home, public and UI directories, etc.
Definition at line 11 of file SPath.php5.
| static SPath::getFullPath | ( | $ | type | ) | [static] |
Build a complete URL (includes protocol/host).
| $type | [string]: The type of URL to construct (see documentation for getRelPath) |
Definition at line 82 of file SPath.php5.
References SConfig::getOption(), and getRelPath().
Referenced by SDRServiceRequest::__construct(), and SShodorLayout::layoutBottomBar().
| static SPath::getRelPath | ( | $ | type | ) | [static] |
Build a relative URL (does not include protocol/host).
| $type | [string]: The type of URL to construct (see list below) |
Definition at line 33 of file SPath.php5.
References SConfig::getOption(), and SObject::setStaticPrettyError().
Referenced by Pictcha::__construct(), getFullPath(), PageRender2::includeCSS(), PageRender2::includeJS(), SLayout::layoutHead(), Toolkit::prm_getCSSSource(), Toolkit::prm_getJSSource(), PageRender2::renderPrint(), LatexRenderModule::transform(), and STransListXML::translateListPage().
1.5.6