namespace CoreFramework\Helper;
// Import framework stuff
+use CoreFramework\Bootstrap\FrameworkBootstrap;
use CoreFramework\Configuration\FrameworkConfiguration;
use CoreFramework\Generic\NullPointerException;
use CoreFramework\Registry\Registry;
$applicationInstance = Registry::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