/**
* First parameter seperator
*/
- private $firstParameter = '?';
+ const FIRST_PARAMETER_SEPERATOR = '?';
/**
* Seperator for more paraemters
*/
- private $parameterSeperator = '&';
+ const EXTRA_PARAMETER_SEPERATOR = '&';
/**
* Protected constructor
* @return $helperInstance A prepared instance of this helper
* @throws NoConfigEntryException A deprecated exception at this point
*/
- public static final function createWebLinkHelper (CompileableTemplate $templateInstance, $linkName, $linkBase = null) {
+ public static final function createWebLinkHelper (CompileableTemplate $templateInstance, $linkName, $linkBase = NULL) {
// Get new instance
$helperInstance = new WebLinkHelper();
} // END - if
// Default parameter seperator is &
- $seperator = $this->parameterSeperator;
+ $seperator = self::EXTRA_PARAMETER_SEPERATOR;
// Is there a question mark in?
- $linkArray = explode($this->firstParameter, $this->getLinkBase());
+ $linkArray = explode(self::FIRST_PARAMETER_SEPERATOR, $this->getLinkBase());
if (count($linkArray) == 0) {
// No question mark
- $seperator = $this->firstParameter;
+ $seperator = self::FIRST_PARAMETER_SEPERATOR;
} // END - if
// Prepare action