<?php
// Own namespace
-namespace CoreFramework\Helper;
+namespace Org\Mxchange\CoreFramework\Helper;
// Import framework stuff
-use CoreFramework\Configuration\FrameworkConfiguration;
-use CoreFramework\Generic\NullPointerException;
-use CoreFramework\Registry\Registry;
-use CoreFramework\Template\CompileableTemplate;
+use Org\Mxchange\CoreFramework\Bootstrap\FrameworkBootstrap;
+use Org\Mxchange\CoreFramework\Configuration\FrameworkConfiguration;
+use Org\Mxchange\CoreFramework\Generic\NullPointerException;
+use Org\Mxchange\CoreFramework\Helper\Template\HelpableTemplate;
+use Org\Mxchange\CoreFramework\Registry\GenericRegistry;
+use Org\Mxchange\CoreFramework\Template\CompileableTemplate;
/**
* A helper for web links
$helperInstance->setLinkName($linkName);
// Get the application instance
- $applicationInstance = Registry::getRegistry()->getInstance('application');
+ $applicationInstance = GenericRegistry::getRegistry()->getInstance('application');
// Get the request instance
- $requestInstance = $applicationInstance->getRequestInstance();
+ $requestInstance = FrameworkBootstrap::getRequestInstance();
// Sanity-check on it
if (is_null($requestInstance)) {
*/
public function addLinkNote ($groupId, $groupNote, $groupCode = 'div') {
// Check if a previous group was opened
- if ($this->ifGroupOpenedPreviously() === FALSE) {
+ if ($this->ifGroupOpenedPreviously() === false) {
// No group was opened before!
throw new NoGroupOpenedException(array($this, $groupNote), self::EXCEPTION_GROUP_NOT_OPENED);
} // END - if
*/
protected function addActionLink ($linkAction, $linkText, $linkTitle) {
// Check if a previous group was opened
- if ($this->ifGroupOpenedPreviously() === FALSE) {
+ if ($this->ifGroupOpenedPreviously() === false) {
// No group was opened before!
throw new NoGroupOpenedException(array($this, $linkAction . '(' . $linkText . ')'), self::EXCEPTION_GROUP_NOT_OPENED);
} // END - if