// CFG: DEFAULT-CONSOLE-COMMAND
$cfg->setConfigEntry('default_console_command', 'tests');
-
-// [EOF]
-?>
$app->setAppName('Unit tests and more');
$app->setAppVersion('0.0.0');
$app->setAppShortName('tests');
-
-// [EOF]
-?>
// Set error reporting
error_reporting(E_ALL | E_STRICT);
-
-// [EOF]
-?>
// Get config instance
$cfg = FrameworkConfiguration::getSelfInstance();
-
-// [EOF]
-?>
// Call user function
call_user_func_array(array($app, FrameworkConfiguration::getSelfInstance()->getConfigEntry('entry_method')), array());
-
-// [EOF]
-?>
print ('totalReward=' . $GLOBALS['total_reward'] . ',blockValue=' . $blockValue . ',rewardPerHour=' . $rewardPerHour . PHP_EOL);
} // END - while
-
-// [EOF]
-?>
print 'Writing ' . strlen($decoded) . ' bytes to output ...' . PHP_EOL;
file_put_contents('test.data.out' . ($__factor * 2), $decoded);
-
-// [EOF]
-?>
file_put_contents('test.data.bin' . ($__factor * 2), $encoded);
print 'File size is: ' . filesize('test.data.bin' . ($__factor * 2)) . ' bytes.' . PHP_EOL;
-
-// [EOF]
-?>
// Remove config from this name-space. Don't worry, no configuration is cleared.
unset($cfg);
-
-// [EOF]
-?>
// For testing purposes we use a local file database
$databaseInstance = ObjectFactory::createObjectByConfiguredName('local_file_database_class');
-
-// [EOF]
-?>
// Scan for all framework classes, exceptions and interfaces
ClassLoader::scanFrameworkClasses();
-
-// [EOF]
-?>
// Add user status filter here
$controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('user_status_filter'));
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Action\PostRegistration\Login;
+
/**
* A post registration action to login after the registration is done
*
$responseInstance->addFatalMessage('failed_login_after_registration');
}
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Array;
+
+// Import SPL stuff
+use \ArrayObject;
+
/**
* Class for saving arrays as an object. We need this little extension for
* some common methods used in whole application. Please see below if you
public function __toString () {
return $this->realClass;
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Client\Http;
+
/**
* A HTTP client class
*
// Return response array
return $responseArray;
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Command\Fuse;
+
/**
* A Fuse console command
*
public function addExtraFilters (Controller $controllerInstance, Requestable $requestInstance) {
// Empty for now ...
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Command\Guest;
+
/**
* A command for the confirmation link handling
*
public function addExtraFilters (Controller $controllerInstance, Requestable $requestInstance) {
// Empty for now
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Command\Form;
+
/**
* A command for the form processor
*
}
}
-
-// [EOF]
-?>
<?php
+// Own namespace
+namespace CoreFramework\Command\Guest;
+
/**
* A command for the home page
*
public function addExtraFilters (Controller $controllerInstance, Requestable $requestInstance) {
// Empty for now
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Command\Login;
+
/**
* A command for the login area (member/gamer area)
*
// Remember this action in registry
Registry::getRegistry()->addInstance('action', $actionInstance);
}
-}
-// [EOF]
-?>
+}
public function addExtraFilters (Controller $controllerInstance, Requestable $requestInstance) {
// Empty for now
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Command\Failed;
+
/**
* A command for the login failed page
*
public function addExtraFilters (Controller $controllerInstance, Requestable $requestInstance) {
// Empty for now
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Command\Login;
+
/**
* A command for logout
*
public function addExtraFilters (Controller $controllerInstance, Requestable $requestInstance) {
// Empty for now
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Command\Logout;
+
/**
* A command for the login failed page
*
public function addExtraFilters (Controller $controllerInstance, Requestable $requestInstance) {
// Empty for now
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Command\Failed;
+
/**
* A command for Problem page
*
public function addExtraFilters (Controller $controllerInstance, Requestable $requestInstance) {
// Empty for now
}
-}
-// [EOF]
-?>
+}
public function addExtraFilters (Controller $controllerInstance, Requestable $requestInstance) {
// Empty method
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Command\Guest;
+
/**
* A command class for resending the confirmation link
*
// Filter for checking if account is unconfirmed
$controllerInstance->addPreFilter(ObjectFactory::createObjectByConfiguredName('user_unconfirmed_filter'));
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Command\Status;
+
/**
* A command for Status page
*
public function addExtraFilters (Controller $controllerInstance, Requestable $requestInstance) {
// Empty for now
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Command\Captcha;
+
/**
* A command for creating code CAPTCHAs
*
public function addExtraFilters (Controller $controllerInstance, Requestable $requestInstance) {
// Extra filters here...
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Container\Socket;
+
/**
* A Socket Container class
*
// Return result
return $matches;
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Controller\Default;
+
/**
* The default controller for all other console requests
*
// Flush the response out
$responseInstance->flushBuffer();
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Controller\Default;
+
/**
* The default controller with news for e.g. home or news page
*
// Generic pre-post command execution
$this->executeGenericPrePostCommand($requestInstance, $responseInstance);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Controller\Confirm;
+
/**
* Controller for confirmation link
*
// Generic pre-post command execution
$this->executeGenericPrePostCommand($requestInstance, $responseInstance);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Controller\Default;
+
/**
* The default controller for all other web requests
*
// Flush the response out
$responseInstance->flushBuffer();
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Controller\News;
+
/**
* The default controller with news for e.g. home or news page
*
// Generic pre-post command execution
$this->executeGenericPrePostCommand($requestInstance, $responseInstance);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Controller\Login;
+
/**
* Controller for login form with password reminder and maybe enabled
* "guest-login" button
// Generic pre-post command execution
$this->executeGenericPrePostCommand($requestInstance, $responseInstance);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Controller\Failed;
+
/**
* A controller for login failed page
*
// Flush the response out
$responseInstance->flushBuffer();
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Controller\Logout;
+
/**
* The default controller for logout page
*
// Flush the response out
$responseInstance->flushBuffer();
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Controller\Logout;
+
/**
* Controller for logout done page
*
// Generic pre-post command execution
$this->executeGenericPrePostCommand($requestInstance, $responseInstance);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Controller\Problem;
+
/**
* Controller for problem requests
*
// Generic pre-post command execution
$this->executeGenericPrePostCommand($requestInstance, $responseInstance);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Controller\Status;
+
/**
* Controller for changing user status
*
// Flush the response out
$responseInstance->flushBuffer();
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Controller\Form;
+
/**
* A controller for handling sent forms
*
// Generic handling with redirect to 'login_failed'
$this->genericHanleRequestLoginFailedRedirect($requestInstance, $responseInstance);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Controller\Login;
+
/**
* Controller for login area with news
*
*/
$this->genericHanleRequestLoginAreaFailedRedirect($requestInstance, $responseInstance);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Controller\Image\Captcha;
+
/**
* A controller for a code-based CAPTCHA where the user has to repeat a shown code
*
// Generic pre-post command execution
$this->executeGenericPrePostCommand($requestInstance, $responseInstance);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Controller\Default;
+
/**
* A default controller for images
*
// Flush the response out
$responseInstance->flushBuffer();
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Criteria\DataSet;
+
/**
* A set of data storeable in databases
*
// Return it
return $this->primaryKeys;
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Criteria\Search;
+
/**
* Search criteria for e.g. searching in databases. Do not use this class if
* you are looking for a ship or company, or what ever. Instead use this class
//* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput('SEARCH-CRITERIA[' . __METHOD__ . ':' . __LINE__ . ']: key=' . $key . ',value[' . gettype($value) . ']=' . $value . ',isMatching=' . intval($isMatching) . ' - EXIT!');
return $isMatching;
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Criteria\Update;
+
/**
* Search criteria for e.g. searching in databases. Do not use this class if
* you are looking for a ship or company, or what ever. Instead use this class
public final function getUpdateCriteria () {
return $this->getCriteriaArray();
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Database\Backend\Lfdb;
+
/**
* Database backend class for storing objects in locally created files.
*
//* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput('DATABASE: tableName=' . $tableName . ',count=' . $count . ' - EXIT!');
return $count;
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Database\Wrapper;
+
/**
* A database wrapper for payments
*
// Return the instance
return $wrapperInstance;
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Database\Result;
+
/**
* A database result class
*
// Set the index
call_user_func_array($callBack, array($indexValue));
}
-}
-// [EOF]
-?>
+}
// Call the inner class' method but trim the characters before
$this->getTemplateInstance()->assignMultipleVariables($variables);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Parser\Xml;
+
/**
* A XML compacting decorator class for XML parsers
*
// Parse the content
$this->getParserInstance()->parseXmlContent($content);
}
-}
-// [EOF]
-?>
+}
public function addResultsToHelper (HelpableTemplate $helperInstance) {
// Undone part
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Factory\Cache;
+
/**
* A cache factory
*
// Return the instance
return $cacheInstance;
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Factory\Client;
+
/**
* An object factory for clients
*
// Return the prepared instance
return $clientInstance;
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Factory\Database\Wrapper;
+
/**
* A factory class for socket registries
*
// Return the instance
return $wrapperInstance;
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Factory\News;
+
/**
* A news factory for web pages
*
// Return the prepared factory instance
return $newsInstance;
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Factory\Filesystem\Stack;
+
/**
* A factory class for file-based stack indexes
*
// Return the instance
return $indexInstance;
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Factory\Login;
+
/**
* A factory class for socket registries
*
// Return the instance
return $loginInstance;
}
-}
-// [EOF]
-?>
+}
// Return the instance
return $objectInstance;
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Factory\Registry;
+
/**
* A factory class for socket registries
*
// Return the instance
return $registryInstance;
}
-}
-// [EOF]
-?>
+}
// Return the instance
return $stackInstance;
}
-}
-// [EOF]
-?>
+}
// Return the instance
return $userInstance;
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Factory\Template;
+
/**
* A factory class for XML template engines. All instances generated by this
* factory does have language support disabled and XML-compacting enabled (to
// Return the instance
return $templateInstance;
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Feature\Fuse;
+
/**
* A FUSE feature class
*
// Return status
return $isAvailable;
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Filesystem\File;
+
/**
* A general binary file class
*
// @TODO Unfinished
$this->partialStub('length=' . $length);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Filesystem\Index;
+
/**
* An index file class
*
self::createDebugInstance(__CLASS__)->debugOutput('[' . __METHOD__ . ':' . __LINE__ . '] groupId=' . $groupId . ',encoded()=' . strlen($encoded));
throw new UnsupportedOperationException(array($this, __FUNCTION__), self::EXCEPTION_UNSPPORTED_OPERATION);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Filesystem\Stack;
+
/**
* A stack file class
*
self::createDebugInstance(__CLASS__)->debugOutput('[' . __METHOD__ . ':' . __LINE__ . '] groupId=' . $groupId . ',hash=' . $hash . ',encoded()=' . strlen($encoded));
throw new UnsupportedOperationException(array($this, __FUNCTION__), self::EXCEPTION_UNSPPORTED_OPERATION);
}
-}
-// [EOF]
-?>
+}
<?php
// Own namespace
-namespace CoreFramework\Stream;
+namespace CoreFramework\Stream\Filesystem;
// Import framework stuff
use CoreFramework\Object\BaseFrameworkSystem;
<?php
+// Own namespace
+namespace CoreFramework\Filesystem\Pointer\Raw;
+
/**
* A class for writing files
*
public function key () {
throw new UnsupportedOperationException(array($this, __FUNCTION__), self::EXCEPTION_UNSPPORTED_OPERATION);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Filesystem\Pointer\Text;
+
/**
* A class for writing files
*
public function key () {
throw new UnsupportedOperationException(array($this, __FUNCTION__), self::EXCEPTION_UNSPPORTED_OPERATION);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Filesystem\File;
+
/**
* A general text file class
*
self::createDebugInstance(__CLASS__)->debugOutput('[' . __METHOD__ . ':' . __LINE__ . '] fqfn=' . $fqfn);
throw new UnsupportedOperationException(array($this, __FUNCTION__), self::EXCEPTION_UNSPPORTED_OPERATION);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Filesystem\Text;
+
/**
* A general text input file class
*
*/
public function readLine () {
}
-}
-// [EOF]
-?>
+}
// Return it
return $lineArray;
}
+
}
-// [EOF]
-?>
<?php
+// Own namespace
+namespace CoreFramework\Filesystem\Text;
+
/**
* A general text file class
*
// ... and set it here
$this->setPointerInstance($pointerInstance);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Filter\User\Auth;
+
/**
* A filter for checking user permissions
*
Registry::getRegistry()->addInstance('auth', $authInstance);
Registry::getRegistry()->addInstance('user', $userInstance);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Filter\Change\Email;
+
/**
* A filter for detecting email changes
*
// Update the "new_email" field
$this->partialStub('Unfinished part.');
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Filter\Change\Email;
+
/**
* A filter for password change detection
*
// Update the "password" field
$this->partialStub('Unfinished part.');
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Filter\RulesCheckbox;
+
/**
* A filter for checking if the user has accepted the rules. This is mainly
* used and done in registration process and should not be removed from your
throw new FilterChainException($this, self::EXCEPTION_FILTER_CHAIN_INTERCEPTED);
} // END - if
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Filter\Captcha;
+
/**
* A filter for checking if value "encrypt" is set and fine
*
// Write it to the request
$requestInstance->setRequestElement('decrypted', $decryptedString);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Filter\User\Username;
+
/**
* A filter for checking if username "guest" has been choosen as configured. If
* so the password will be set to the configured password.
$requestInstance->setRequestElement('pass2', $this->getConfigInstance()->getConfigEntry('guest_login_passwd'));
} // END - if
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Filter\News;
+
/**
* A pre-filter for downloading news from a source. This can be a XML feed or
* the local database. You *can* register this filter as post filter but for
// Store the news instance in registry
Registry::getRegistry()->addInstance('news', $newsInstance);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Filter\News;
+
/**
* A post-filter for processing downloaded news. This will prepare the news fir
* output to the template engine.
*/
public function execute (Requestable $requestInstance, Responseable $responseInstance) {
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Filter\Generic;
+
/**
* As the name said: A null filter does just pass through the data. This is
* useful to make other filters switch on/off-able.
public function execute (Requestable $requestInstance, Responseable $responseInstance) {
// Not implemented, just passing through
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Filter\Discovery\Payment;
+
/**
* A filter for payment discovery. This class discovers the payment type and
* returns an object holding all available payment system for the requested
throw new FilterChainException($this, self::EXCEPTION_FILTER_CHAIN_INTERCEPTED);
}
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Filter\User\Status;
+
/**
* A filter for updating the user account status to confirmed
*
// Write all updates to the database
$userInstance->flushPendingUpdates();
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Filter\User;
+
/**
* A filter for updating the user account like last activity, last action
* performed and so on.
// Write all updates to the database
$userInstance->flushPendingUpdates();
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Filter\Validator\Email;
+
/**
* A concrete filter for validating the email address. This filter may intercept
* the filter chain if no email address is given or if supplied email has an
// Return the result
return $alreadyTaken;
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Filter\Validator\Password;
+
/**
* A concrete filter for validating the password. This filter may intercept
* the filter chain if no password is given or if both passwords didn't match.
throw new FilterChainException($this, self::EXCEPTION_FILTER_CHAIN_INTERCEPTED);
} // END - elseif
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Filter\Validator\Username;
+
/**
* A concrete filter for validating the username. This filter may intercept the
* filter chain if no username is given or if supplied username has an invalid
// Return the result
return $alreadyTaken;
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Filter\Verifier\Password;
+
/**
* A concrete filter for validating the password. This filter may intercept
* the filter chain if no password is given or the password is invalid
throw new AccountPasswordMismatchException($this, BaseUser::EXCEPTION_USER_PASS_MISMATCH);
} // END - if
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Filter\Verifier\User;
+
/**
* A verifier filter for birthday data
*
throw new FilterChainException($this, self::EXCEPTION_FILTER_CHAIN_INTERCEPTED);
} // END - if
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Filter\Verifier\Confirmation;
+
/**
* A filter for checking if supplied confirmation code is valid.
*
exit();
} // END - if
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Filter\Verifier\Captcha;
+
/**
* A concrete filter for validating code graphical CAPTCHAs with hashes
*
throw new FilterChainException($this, self::EXCEPTION_FILTER_CHAIN_INTERCEPTED);
} // END - not the same!
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Filter\Verifier\User;
+
/**
* A concrete filter for validating the guest password. This filter may intercept
* the filter chain if no password is given or the password is invalid
throw new FilterChainException($this, self::EXCEPTION_FILTER_CHAIN_INTERCEPTED);
}
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Filter\Verifier\Password;
+
/**
* A concrete filter for validating the password. This filter may intercept
* the filter chain if no password is given or the password is invalid
throw new FilterChainException($this, self::EXCEPTION_FILTER_CHAIN_INTERCEPTED);
}
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Filter\Verifier\User;
+
/**
* A concrete filter for verfying the guest username. This filter may intercept the
* filter chain if no username is given or if supplied username has an invalid
// Return the result
return $alreadyTaken;
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Filter\Verifier\User;
+
/**
* A concrete filter for verfying the username. This filter may intercept the
* filter chain if no username is given or if supplied username has an invalid
// Return the result
return $alreadyTaken;
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Filter\Verifier\User;
+
/**
* A filter for checking if user status is GUEST or CONFIRMED.
*
exit();
} // END - if
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Filter\Verifier\User;
+
/**
* A filter for checking if user status is UNCONFIRMED.
*
// Add this instance to registry
Registry::getRegistry()->addInstance('user', $userInstance);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Handler\Data;
+
/**
* A general data Handler
*
* @return void
*/
abstract protected function removeMessageConfigurationData (array $messageData);
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Handler\Raw;
+
/**
* A general Handler for raw data from sockets
*
public final function getErrorCode () {
return $this->errorCode;
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Handler\Task;
+
/**
* A Task handler
*
$this->unregisterTask($entry);
} // END - foreach
}
-}
-// [EOF]
-?>
+}
// Transfer all to the template engine
$templateInstance->renderXmlContent($imageContent);
}
-}
-// [EOF]
-?>
+}
// Transfer it to the template instance
$templateInstance->assignVariable($this->getBlockName(), $templateInstance->getRawTemplateData());
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Helper;
+
/**
* A general purpose web helper. You should not instance this like all the other
* base classes. Instead write your own web helper class and inherit this class.
// Call parent constructor
parent::__construct($className);
}
-}
-// [EOF]
-?>
+}
// Add the content to the previous group
$this->addContentToPreviousGroup($linkContent);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Helper\Login;
+
/**
* A general login helper class
*
// Call parent constructor
parent::__construct($className);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Iterator;
+
/**
* A Default iterator
*
// Return result
return $isValid;
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Iterator\File;
+
/**
* A file iterator
*
print $this->getBlockInstance()->__toString() . PHP_EOL;
return $this->getBlockInstance()->searchNextGap($length);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Listener;
+
/**
* A general decorator for listeners to communicate to hubs
*
//* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput('BASE-LISTENER-DECORATOR[' . __METHOD__ . ':' . __LINE__ . '] Going to handle over some raw data to receiver instance (' . $receiverInstance->__toString() . ') ...');
$receiverInstance->addRawDataToIncomingStack($handlerInstance);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Listener\Socket;
+
/**
* A file-based socket listener
*
public function monitorIncomingRawData () {
$this->partialStub('Need to implement this method.');
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Listener\Socket;
+
/**
* A decorator for the SocketFileListener to communicate to hubs
*
// Return the result
return $accepts;
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\List\Group;
+
/**
* A ListGroup list
*
public function clearList () {
$this->partialStub('Please implement this method.');
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\List\Task;
+
/**
* A Task list
*
// Clear the only one group
$this->clearGroup('tasks');
}
-}
-// [EOF]
-?>
+}
// Then compile it again
$templateInstance->compileVariables();
}
-}
-// [EOF]
-?>
+}
public function size () {
throw new UnsupportedOperationException(array($this, __FUNCTION__), self::EXCEPTION_UNSPPORTED_OPERATION);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Output\Debug;
+
/**
* Generic debug output class
*
public final function getLoggerClassName () {
return $this->loggerClassName;
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Output\Debug;
+
/**
* A debug output class for PHP's error_log() command
*
public function size () {
throw new UnsupportedOperationException(array($this, __FUNCTION__), self::EXCEPTION_UNSPPORTED_OPERATION);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Output\Debug;
+
/**
* A debug output class for the web browser
*
public function size () {
throw new UnsupportedOperationException(array($this, __FUNCTION__), self::EXCEPTION_UNSPPORTED_OPERATION);
}
-}
-// [EOF]
-?>
+}
public function size () {
throw new UnsupportedOperationException(array($this, __FUNCTION__), self::EXCEPTION_UNSPPORTED_OPERATION);
}
-}
-// [EOF]
-?>
+}
// Free the parser
xml_parser_free($xmlParser);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Request;
+
/**
* A concrete request class
*
// Not support method
throw new UnsupportedOperationException(array($this, __FUNCTION__, $executorInstance), self::EXCEPTION_UNSPPORTED_OPERATION);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Request;
+
/**
* A concrete and secured HTML request class to make HTML requests more abstract
*
// Return the value
return $cookieValue;
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Resolver\Action;
+
/**
* A generic action resolver class
*
// Return the result
return $actionInstance;
}
-}
-// [EOF]
-?>
+}
// Return the instance
return $actionInstance;
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Resolver\Controller;
+
/**
* A generic command resolver class
*
// Return the result
return $isValid;
}
-}
-// [EOF]
-?>
+}
// Return the prepared instance
return $resolverInstance;
}
-}
-// [EOF]
-?>
+}
// Return the prepared instance
return $resolverInstance;
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Resolver\Controller;
+
/**
* A generic controller resolver class
*
// Return the maybe resolved instance
return $controllerInstance;
}
-}
-// [EOF]
-?>
+}
// Return the prepared instance
return $resolverInstance;
}
-}
-// [EOF]
-?>
+}
// Return the prepared instance
return $resolverInstance;
}
-}
-// [EOF]
-?>
+}
// Return the prepared instance
return $resolverInstance;
}
-}
-// [EOF]
-?>
+}
* @param $force Whether we shall force the output or abort if headers are
* already sent with an exception
* @return void
- * @throws ResponseHeadersAlreadySentException Thrown if headers are
- * already sent
+ * @throws ResponseHeadersAlreadySentException Thrown if headers are already sent
*/
public function flushBuffer ($force = FALSE) {
$this->partialStub('Please implement this class.');
}
-}
-// [EOF]
-?>
+}
$this->addCookie($cookieName, $_COOKIE[$cookieName], FALSE);
} // END - if
}
-}
-// [EOF]
-?>
+}
$this->addCookie($cookieName, $_COOKIE[$cookieName], FALSE);
} // END - if
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Stacker;
+
/**
* A FiFo Stacker class
*
// Call the protected method
return parent::getFirstValue($stackerName);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Stack\File;
+
/**
* A general file-based stack class
*
self::ARRAY_INDEX_DATA_LENGTH => strlen($rawData)
);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Stacker;
+
/**
* A FiLo Stacker class
*
// Call the protected method
return parent::getLastValue($stackerName);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Stream\Crypto;
+
/**
* A mcrypt-based encryption stream
*
* @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
* @license GNU GPL 3.0 or any newer version
* @link http://www.shipsimu.org
+ * @todo mcrypt will become deprecated, rewrite to OpenSSL
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
self::createDebugInstance(__CLASS__)->debugOutput('Unhandled ' . strlen($data) . ' bytes in this stream.');
throw new UnsupportedOperationException(array($this, __FUNCTION__), self::EXCEPTION_UNSPPORTED_OPERATION);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Stream\Crypto;
+
/**
* A null-encryption stream does not encrypt anything but can be used if e.e.
* mcrypt is not installed.
self::createDebugInstance(__CLASS__)->debugOutput('Unhandled ' . strlen($data) . ' bytes in this stream.');
throw new UnsupportedOperationException(array($this, __FUNCTION__), self::EXCEPTION_UNSPPORTED_OPERATION);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Task\IdleLoop;
+
/**
* A IdleLoop task
*
// Debug message
self::createDebugInstance(__CLASS__)->debugOutput('TASK[' . __METHOD__ . ':' . __LINE__ . ']: Shutting down...');
}
-}
-// [EOF]
-?>
+}
// Return the prepared instance
return $templateInstance;
}
-}
-// [EOF]
-?>
+}
// Return the prepared instance
return $templateInstance;
}
-}
-// [EOF]
-?>
+}
// Load the special template
$this->loadTemplate($template);
}
-}
-// [EOF]
-?>
+}
public function transferToResponse (Responseable $responseInstance) {
$responseInstance->writeToBody($this->getCompiledData());
}
-}
-// [EOF]
-?>
+}
// Return it
return $fqfn;
}
-}
-// [EOF]
-?>
+}
public function flushPendingUpdates () {
// No updates will be flushed to database!
}
-}
-// [EOF]
-?>
+}
// Remember the update in database result
$this->getResultInstance()->add2UpdateQueue($updateInstance);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Visitor\Task\Active;
+
/**
* An ActiveTask visitor
*
// A decorator itself can never become an active task so this method
// remains empty.
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Visitor\Task\Shutdown;
+
/**
* An ShutdownTask visitor
*
// Shutdown the decorator instance
$decoratorInstance->doShutdown();
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Action;
+
/**
* This exception is thrown when a requested action is invalid
*
// Call parent contructor with message
parent::__construct($message, $code);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\User\Auth;
+
/**
* An exception thrown when authorization of the user has failed
*
// Call parent exception constructor
parent::__construct($message, $code);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Deprecated;
+
/**
* Thrown if the given data contains characters that are not valid for
* BASE64-encoding.
* @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
* @license GNU GPL 3.0 or any newer version
* @link http://www.shipsimu.org
+ * @deprecated Don't use this anymore
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
// Call parent exception constructor
parent::__construct($message, $code);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Deprecated;
+
/**
* Thrown if modulo 4 of the length of the given data is not zero.
*
* @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
* @license GNU GPL 3.0 or any newer version
* @link http://www.shipsimu.org
+ * @deprecated Don't use this anymore
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
// Call parent exception constructor
parent::__construct($message, $code);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Generic;
+
/**
* A general abstract exception. You should not throw this even when you
* remove the "abstract" key-word. Better you make your own exception and
public final function getExtraData () {
return $this->extraData;
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Compressor;
+
/**
* An exception thrown when compressors are mismatching
*
* @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
* @license GNU GPL 3.0 or any newer version
* @link http://www.shipsimu.org
+ * @todo Rename to CompressorMismatchException
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
// Call parent constructor
parent::__construct($message, $code);
}
-}
-// [EOF]
-?>
+}
// Call parent constructor
parent::__construct($message, $code);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Configuration;
+
/**
* Thrown when the value variable type is NULL, an array, an object or a
* resource as these values shall not be set as configuration values. Please use
* @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
* @license GNU GPL 3.0 or any newer version
* @link http://www.ship-simu.org
+ * @todo These are invalid argument exceptions
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
// Call parent exception constructor
parent::__construct($message, $code);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Configuration;
+
/**
* An exception thrown when a configuration entry is not found
*
// Call parent constructor
parent::__construct($message, $code);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Connection;
+
/**
* This exception is thrown if the connection is already registered in a matching
* connection registry.
// Call parent exception constructor
parent::__construct($message, $code);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Controller;
+
/**
* This exception is thrown when the default controller is missing
*
// Call parent contructor with message
parent::__construct($message, $code);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Controller;
+
/**
* This exception is thrown when the default controller is missing
*
// Call parent contructor with message
parent::__construct($message, $code);
}
+
}
-// [EOF]
-?>
<?php
+// Own namespace
+namespace CoreFramework\Deprecated;
+
/**
* An exception thrown when the decrypted "encrypt" string has an invalid length
*
* @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
* @license GNU GPL 3.0 or any newer version
* @link http://www.shipsimu.org
+ * @deprecated Don't use this anymore
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
// Call parent exception constructor
parent::__construct($message, $code);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Deprecated;
+
/**
* An exception thrown when the "encrypt" string is missing
*
* @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
* @license GNU GPL 3.0 or any newer version
* @link http://www.shipsimu.org
+ * @deprecated Don't use this anymore
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
// Call parent exception constructor
parent::__construct($message, $code);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Database\Sql;
+
/**
* A SQL exception thrown when an SQL error was detected.
*
// Call parent constructor
parent::__construct($message, $code);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Deprecated;
+
/**
* An exception thrown when the save path is no directory
*
* @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
* @license GNU GPL 3.0 or any newer version
* @link http://www.shipsimu.org
+ * @deprecated Don't use this
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
// Call parent constructor
parent::__construct($message, $code);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Deprecated;
+
/**
* An exception thrown when the save path is read-protected
*
* @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
* @license GNU GPL 3.0 or any newer version
* @link http://www.shipsimu.org
+ * @deprecated Please don't use this
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
// Call parent constructor
parent::__construct($message, $code);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Deprecated;
+
/**
* An exception thrown when the save path is write-protected
*
* @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
* @license GNU GPL 3.0 or any newer version
* @link http://www.shipsimu.org
+ * @deprecated Please don't use this
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
// Call parent constructor
parent::__construct($message, $code);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Feature;
+
/**
* Thrown if a given feature's method is not callable
*
// Call parent exception constructor
parent::__construct($message, $code);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Filesystem;
+
/**
* An exception thrown when a directory pointer is not opended
*
*/
public function __construct ($path, $code) {
// Add a message around the missing class
- $message = sprintf('Für den Pfad %s konnte kein Pointer initialisiert werden.', $path);
+ $message = sprintf('No pointer could be initialized for path "%s".', $path);
// Call parent constructor
parent::__construct($message, $code);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Deprecated;
+
/**
* An exception thrown when a file name is empty or NULL.
*
* @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
* @license GNU GPL 3.0 or any newer version
* @link http://www.shipsimu.org
+ * @deprecated Don't use this anymore
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
// Call parent constructor
parent::__construct('No file name provided.', $code);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Deprecated;
+
/**
* An exception thrown when a file could not be written.
*
* @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
* @license GNU GPL 3.0 or any newer version
* @link http://www.shipsimu.org
+ * @deprecated Don't use this anymore
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
// Call parent constructor
parent::__construct($message, $code);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Deprecated;
+
/**
* An exception thrown when the length of the data mismatch
*
* @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
* @license GNU GPL 3.0 or any newer version
* @link http://www.shipsimu.org
+ * @deprecated Don't use this anymore
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
// Call parent constructor
parent::__construct($message, $code);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Filter\Chain;
+
/**
* An exception thrown in a filter chain to stop processing further filters
*
// Call the parent exception
parent::__construct($message, $code);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Deprecated;
+
/**
* An exception thrown in a filter chain to stop processing further filters
*
* @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
* @license GNU GPL 3.0 or any newer version
* @link http://www.shipsimu.org
+ * @deprecated Don't use this anymore
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
// Call the parent exception
parent::__construct($message, $code);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Deprecated;
+
/**
* An exception thrown when the form is still closed but input field shall be
* added to it. This should normally not happen, but well, who knows?
* @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
* @license GNU GPL 3.0 or any newer version
* @link http://www.shipsimu.org
+ * @deprecated Don't use this anymore
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
// Call parent constructor
parent::__construct($message, $code);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Deprecated;
+
/**
* An exception thrown when a form group is still closed.
*
* @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
* @license GNU GPL 3.0 or any newer version
* @link http://www.shipsimu.org
+ * @deprecated Don't use this anymore
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
// Call parent constructor
parent::__construct($message, $code);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Deprecated;
+
/**
* An exception thrown when the form is still opened but we e.g. shall flush
* the content.
* @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
* @license GNU GPL 3.0 or any newer version
* @link http://www.shipsimu.org
+ * @deprecated Don't use this anymore
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
// Call parent constructor
parent::__construct($message, $code);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Deprecated;
+
/**
* An exception thrown when a group was added twice
*
* @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
* @license GNU GPL 3.0 or any newer version
* @link http://www.shipsimu.org
+ * @deprecated Don't use this anymore
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
// Call parent constructor
parent::__construct($message, $code);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Deprecated;
+
/**
* An exception thrown when no sub group was opened previously
*
* @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
* @license GNU GPL 3.0 or any newer version
* @link http://www.shipsimu.org
+ * @deprecated Don't use this anymore
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
// Call parent constructor
parent::__construct($message, $code);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Deprecated;
+
/**
* An exception thrown when a sub group was added twice
*
* @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
* @license GNU GPL 3.0 or any newer version
* @link http://www.shipsimu.org
+ * @deprecated Don't use this anymore
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
// Call parent constructor
parent::__construct($message, $code);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Deprecated;
+
/**
* An exception thrown when the form name is invalid (set to FALSE)
*
* @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
* @license GNU GPL 3.0 or any newer version
* @link http://www.shipsimu.org
+ * @deprecated Don't use this anymore
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
// Call parent constructor
parent::__construct($message, $code);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Deprecated;
+
/**
* An exception thrown when a group was not opened before
*
* @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
* @license GNU GPL 3.0 or any newer version
* @link http://www.shipsimu.org
+ * @deprecated Don't use this anymore
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
// Call parent constructor
parent::__construct($message, $code);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Deprecated;
+
/**
* An exception thrown when a user instance is invalid
*
* @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
* @license GNU GPL 3.0 or any newer version
* @link http://www.shipsimu.org
+ * @deprecated Don't use this anymore
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
// Call parent constructor
parent::__construct($message, $code);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Deprecated;
+
/**
* An exception thrown when the language path string is invalid
*
* @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
* @license GNU GPL 3.0 or any newer version
* @link http://www.shipsimu.org
+ * @deprecated Don't use this anymore
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
// Call parent constructor
parent::__construct($message, $code);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Deprecated;
+
/**
* An exception thrown when the language path is no directory
*
* @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
* @license GNU GPL 3.0 or any newer version
* @link http://www.shipsimu.org
+ * @todo Don't use this anymore
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
// Call parent constructor
parent::__construct($message, $code);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Deprecated;
+
/**
* An exception thrown when the language path is read-protected
*
* @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
* @license GNU GPL 3.0 or any newer version
* @link http://www.shipsimu.org
+ * @deprecated Don't use this anymore
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
// Call parent constructor
parent::__construct($message, $code);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Database\Result;
+
/**
* An exception thrown if a database result does not contain expected entries
*
// Call parent exception constructor
parent::__construct($message, $code);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Result;
+
/**
* An exception thrown if result was not updated.
*
// Call parent exception constructor
parent::__construct($message, $code);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Socket;
+
/**
* This exception is newer thrown, it bundles all socket exceptions together to
* one abstract exception.
abstract class AbstractSocketException extends FrameworkException {
// This abstract exception is currently kept empty
}
-
-// [EOF]
-?>
<?php
+// Own namespace
+namespace CoreFramework\Socket;
+
/**
* This exception is thrown when the socket resource is an invalid server socket.
*
// Call parent exception constructor
parent::__construct($message, $code);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Socket;
+
/**
* This exception is thrown when the socket resource is invalid or an error
* occurs while socket initialization phase.
// Call parent exception constructor
parent::__construct($message, $code);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Socket;
+
/**
* This exception is thrown when socket_last_error() has returned zero value
* which means no error. This should not happen unless someone called
* @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
* @license GNU GPL 3.0 or any newer version
* @link http://www.shipsimu.org
+ * @todo Those are logic exceptions and should be rewritten
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
// Call parent exception constructor
parent::__construct($message, $code);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Socket;
+
/**
* This exception is thrown when the requested socket is not thrown
*
// Call parent exception constructor
parent::__construct($message, $code);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Deprecated;
+
/**
* This exception is thrown if the socket is already registered in a matching
* socket registry.
* @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
* @license GNU GPL 3.0 or any newer version
* @link http://www.shipsimu.org
+ * @deprecated Don't use this anymore
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
// Call parent exception constructor
parent::__construct($message, $code);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Socket;
+
/**
*
* @author Roland Haeder <webmaster@shipsimu.org>
// Call parent exception constructor
parent::__construct($message, $code);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Socket;
+
/**
* This exception is thrown when socket_connection() could not succeed. This
* means a lot: the connection was refused by other peer (no open port; mostly
// Call parent exception constructor
parent::__construct($message, $code);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Socket;
+
/**
* This exception is thrown when socket_create() returns a variable with
* non-resource type. This could mean you don't have propper permission to
// Call parent exception constructor
parent::__construct($message, $code);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Socket;
+
/**
* This exception is thrown when an option could not be set on given socket
* resource. This means that the socket could be (somehow) created but cannot
// Call parent exception constructor
parent::__construct($message, $code);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Socket;
+
/**
* This exception is thrown if the socket cannot be shut down is not error 107
* which is "Transport endpoint not connected".
// Call parent exception constructor
parent::__construct($message, $code);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Socket;
+
/**
* This exception is thrown when a socket error handler is not (yet)
* implemented.
// Call parent exception constructor
parent::__construct($message, $code);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Deprecated;
+
/**
* Thrown if a stacker is already initialized
*
// Call parent exception constructor
parent::__construct($message, $code);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Deprecated;
+
/**
* Thrown if a stacker is empty
*
* @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
* @license GNU GPL 3.0 or any newer version
* @link http://www.shipsimu.org
+ * @deprecated Don't use this anymore
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
// Call parent exception constructor
parent::__construct($message, $code);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Deprecated;
+
/**
* Thrown if a stacker is full
*
// Call parent exception constructor
parent::__construct($message, $code);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Deprecated;
+
/**
* Thrown if a stacker is empty
*
// Call parent exception constructor
parent::__construct($message, $code);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\State;
+
/**
* This exception is thrown when a state instance is invalid
*
// Call parent constructor
parent::__construct($message, $code);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\State;
+
/**
* This exception is thrown when an unexpected state is detected.
*
// Call parent exception constructor
parent::__construct($message, $code);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\State;
+
/**
* This exception is thrown when the default state is missing
*
// Call parent contructor with message
parent::__construct($message, $code);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Deprecated;
+
/**
* An exception thrown when the base path is no directory
*
* @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
* @license GNU GPL 3.0 or any newer version
* @link http://www.shipsimu.org
+ * @deprecated Don't use this anymore
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
// Call parent constructor
parent::__construct($message, $code);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Deprecated;
+
/**
* An exception thrown when the base path is read-protected
*
* @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
* @license GNU GPL 3.0 or any newer version
* @link http://www.shipsimu.org
+ * @deprecated Don't use this anymore
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
// Call parent constructor
parent::__construct($message, $code);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Deprecated;
+
/**
* An exception thrown hen the base path string is invalid
*
* @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
* @license GNU GPL 3.0 or any newer version
* @link http://www.shipsimu.org
+ * @deprecated Don't use this anymore
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
// Call parent constructor
parent::__construct($message, $code);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Deprecated;
+
/**
* An exception thrown when a variable is not set but should be.
*
* @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
* @license GNU GPL 3.0 or any newer version
* @link http://www.shipsimu.org
+ * @deprecated Don't use this anymore
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
// Call parent constructor
parent::__construct($message, $code);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Deprecated;
+
/**
* An exception thrown when the template type is not supported
*
* @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
* @license GNU GPL 3.0 or any newer version
* @link http://www.shipsimu.org
+ * @deprecated Don't use this anymore
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
// Call parent constructor
parent::__construct($message, $code);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Xml;
+
/**
* An exception thrown when an XML parser error was detected
*
// Call parent exception constructor
parent::__construct($message, $code);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Xml;
+
/**
* An exception thrown when an XML node does not match the excepted
*
// Call parent exception constructor
parent::__construct($message, $code);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Parser\Xml;
+
/**
* An exception thrown when an XML parser error was detected
*
// Call parent exception constructor
parent::__construct($message, $code);
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Command;
+
/**
* An interface for commands for the front controller
*
* @return void
*/
function addExtraFilters (Controller $controllerInstance, Requestable $requestInstance);
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Filesystem\Block;
+
/**
* A CalculatableBlock interface
*
* @return $length Minimum length for one entry/block
*/
function calculateMinimumBlockLength ();
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Criteria\Local;
+
/**
* An interface for local criterias
*
* @return $isMatching Whether the key/value is matching or excluded
*/
function isCriteriaMatching ($key, $value, $separator = ',');
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Criteria\Local;
+
/**
* An interface for local criterias
*
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
interface LocalUpdateCriteria extends Criteria {
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Criteria;
+
/**
* An interface for storeable data sets
*
* @return $primaryKeys Primary key array
*/
function getPrimaryKeys ();
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Database\Backend;
+
/**
* An interface for front-end database classes. The classes should prepare the
* objects for saving in the database. So for server-bases database classes SQL
* @return $count Total rows of given table
*/
function countTotalRows($tableName);
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Connector\Database;
+
/**
* An interface for middleware database classes
*
* @return $count Total rows of given table
*/
function countTotalRows($tableName);
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Database\Wrapper;
+
/**
* An interface for wrapper dealing with bookable points
*
* @return void
*/
function doUpdateByResult (UpdateableResult $resultInstance);
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Handler\DataSet;
+
/**
* An interface for data set handlers
*
* @return void
*/
function addArrayToDataSet (StoreableCriteria $dataSetInstance, array $messageData);
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Handler\Protocol;
+
/**
* An interface for protocol handlers
*
* @return $ifMatches Whether the found UNL matches own addresss
*/
function isOwnAddress ($unl);
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Handler\Task;
+
/**
* A HandleableTask interface
*
* @return void
*/
function doShutdown ();
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Helper\Login;
+
/**
* A helper interface for logins
*
* @return void
*/
function executeLogin (Responseable $responseInstance);
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Helper\Template;
+
/**
* A helper interface for template helper ;)
*
* @return void
*/
function flushContent ();
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Stack\Index;
+
/**
* An interface for Indexable stack classes
*
* @return void
*/
function addHashToIndex ($stackName, array $data);
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Stream\Input;
+
/**
* An interface for input streams
*
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
interface StreamableInput extends Streamable {
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Stream\Output;
+
/**
* An interface for output streams
*
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
interface StreamableOutput extends Streamable {
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Filesystem\Stream;
+
/**
* An interface for file input operations.
*
* @throws InvalidMD5ChecksumException If two MD5 hashes did not match
*/
function loadFileContents ($fqfn);
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Filesystem\Stream;
+
/**
* An interface for file output operations.
*
* @return void
*/
function saveFile ($fileName, array $dataArray);
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Stream\Filesystem;
+
/**
* An interface for CSV file input operations.
*
* @return $lineArray An index array with the read line
*/
function readCsvFileLine ($columnSeparator);
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Stream\Output;
+
/**
* An interface for output streams
*
* @return void
*/
function output ($outStream = FALSE, $stripTags = FALSE);
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Filesystem\Pointer;
+
/**
* An interface for (mostly) file input pointers.
*
* @throws InvalidResourceException If there is being set
*/
function read ($bytes = NULL);
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Filesystem\Pointer;
+
/**
* An interface for (mostly) file output pointers.
*
* @return mixed Number of writes bytes or FALSE on error
*/
function writeAtPosition ($seedPosition, $data);
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Filesystem\Pointer;
+
/**
* An interface for (mostly) file input/output pointers.
*
* @return $key Current key in iteration
*/
function key ();
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Iterator\Filesystem;
+
/**
* An interface for seekable iterators which also allow to write to the file
* in different ways.
* @return $seekPosition Found next gap's seek position
*/
function searchNextGap ($length);
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\User\Points;
+
/**
* An interface for bookable points
*
* @return void
*/
function bookPointsDirectly ($amount);
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\User\Registration;
+
/**
* A class for user registration
*
* @return void
*/
function doPostAction ();
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Resolver\Action;
+
/**
* An instance for action resolver classes
*
* @throws EmptyVariableException Thrown if given action is not set
*/
function isActionValid ($actionName);
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Resolver\Command;
+
/**
* An instance for command resolver classes
*
* @throws EmptyVariableException Thrown if given command is not set
*/
function isCommandValid ($commandName);
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Resolver\Controller;
+
/**
* An instance for controller resolver classes
*
* @return $controllerInstance A controller instance for the default command
*/
function resolveController ();
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Resolver\State;
+
/**
* An instance for state resolver classes
*
* @throws EmptyVariableException Thrown if given state is not set
*/
function isStateValid ($stateName);
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Result;
+
/**
* An interface for searchable results
*
* @throws ResultUpdateException If no result was updated
*/
function add2UpdateQueue (LocalUpdateCriteria $criteriaInstance);
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Filesystem\Stack;
+
/**
* A Stackable file interface
*
* @return $size Size (in bytes) of file
*/
function size ();
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Stream\Crypto;
+
/**
* An EncryptableStream interface
*
* @return $str The unencrypted string
*/
function decryptStream ($encrypted);
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Stream;
+
/**
* An InputStream interface
*
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
interface InputStream extends Stream {
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Stream;
+
/**
* An OutputStream interface
*
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
interface OutputStream extends Stream {
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Manager\Guest;
+
/**
* An interface for manageable guests
*
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
interface ManageableGuest extends ManageableAccount {
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Manager\Login;
+
/**
* An interface for manageable users
*
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
interface ManageableMember extends ManageableAccount {
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Visitor\Decorator;
+
/**
* An interface for the visitor implementation for decorators
*
* @return void
*/
function visitDecorator (BaseDecorator $decoratorInstance);
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Visitor\Listener;
+
/**
* An interface for the visitor implementation for listeners
*
* @return void
*/
function visitListener (Listenable $listenerInstance);
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Visitor\Pool;
+
/**
* An interface for the visitor implementation for pools
*
* @return void
*/
function visitPool (Poolable $poolInstance);
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Visitor\Task;
+
/**
* An interface for the visitor implementation for tasks
*
* @return void
*/
function visitTask (Taskable $taskInstance);
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Channel\Compressor;
+
/**
* Middleware class for selecting the right compressor channel
*
// Get compressor extension from current compressor
return $this->getCompressor()->getCompressorExtension();
}
-}
-// [EOF]
-?>
+}
// Return the value
return $count;
}
-}
-// [EOF]
-?>
+}
<?php
+// Own namespace
+namespace CoreFramework\Middleware\Debug;
+
/**
* The middlware debug output system. A *real* or concrete output class shall
* become registered with this middleware because the back-fall class will
// Use the output instance
$this->getOutputInstance()->outputStream($outStream, $stripTags);
}
-}
-// [EOF]
-?>
+}
// Call above main() method
ApplicationEntryPoint::main();
-
-// [EOF]
-?>