<?php
/**
* Helper -> html
* Helps creating links and stuff
*/
class Html {
/**
* Returns the complete path to import a layout
*@param string file name
*@return string complete path
*/
public function getLayoutLink($fileName)
{
return(LAYOUT . $fileName);
}
/**
* Returns the complete path to a css given file
*@param string file name
*@return string complete path
*/
public function getCssLink($fileName)
{
return(CSS . $fileName);
}
/**
* Returns the complete path to a mod
*@param string file name
*@return string complete path
*/
public function getModLink($fileName)
{
return(MODS . $fileName);
}
/**
* Returns the complete link to an image
*@param string file name
*@return string complete path
*/
public function getImgLink($fileName)
{
return(IMAGES . $fileName);
}
/**
* Returns the link to a certain part of the web
*@param string file name
*@return string complete path
*/
public function getLink($uri)
{
return("?" . $uri);
}
}
?>