*
* @return $actionInstance An instance of this action class
*/
- public final static function createLoginAfterRegistrationAction () {
+ public static final function createLoginAfterRegistrationAction () {
// Get a new instance
$actionInstance = new LoginAfterRegistrationAction();
* @param $resolverInstance An instance of an action resolver
* @return $actionInstance An instance of this action class
*/
- public final static function createWebLoginProfileAction (ActionResolver $resolverInstance) {
+ public static final function createWebLoginProfileAction (ActionResolver $resolverInstance) {
// Get a new instance
$actionInstance = new WebLoginProfileAction();
* @param $responseInstance An instance of a Responseable class
* @return $loginInstance An instance of this login class
*/
- public final static function createCookieAuth (Responseable $responseInstance) {
+ public static final function createCookieAuth (Responseable $responseInstance) {
// Get a new instance
$loginInstance = new CookieAuth();
*
* @return $cacheInstance An instance of this cache class
*/
- public final static function createMemoryCache () {
+ public static final function createMemoryCache () {
// Get a new instance
$cacheInstance = new MemoryCache();
* @param $resolverInstance An instance of a command resolver class
* @return $commandInstance An instance a prepared command class
*/
- public final static function createImageCodeCaptchaCommand (CommandResolver $resolverInstance) {
+ public static final function createImageCodeCaptchaCommand (CommandResolver $resolverInstance) {
// Get new instance
$commandInstance = new ImageCodeCaptchaCommand();
* @param $resolverInstance An instance of a command resolver class
* @return $commandInstance An instance a prepared command class
*/
- public final static function createWebConfirmCommand (CommandResolver $resolverInstance) {
+ public static final function createWebConfirmCommand (CommandResolver $resolverInstance) {
// Get new instance
$commandInstance = new WebConfirmCommand();
* @param $resolverInstance An instance of a command resolver class
* @return $commandInstance An instance a prepared command class
*/
- public final static function createWebDoFormCommand (CommandResolver $resolverInstance) {
+ public static final function createWebDoFormCommand (CommandResolver $resolverInstance) {
// Get new instance
$commandInstance = new WebDoFormCommand();
* @param $resolverInstance An instance of a command resolver class
* @return $commandInstance An instance a prepared command class
*/
- public final static function createWebHomeCommand (CommandResolver $resolverInstance) {
+ public static final function createWebHomeCommand (CommandResolver $resolverInstance) {
// Get new instance
$commandInstance = new WebHomeCommand();
* @param $resolverInstance An instance of a command resolver class
* @return $commandInstance An instance a prepared command class
*/
- public final static function createWebLoginAreaCommand (CommandResolver $resolverInstance) {
+ public static final function createWebLoginAreaCommand (CommandResolver $resolverInstance) {
// Get new instance
$commandInstance = new WebLoginAreaCommand();
* @param $resolverInstance An instance of a command resolver class
* @return $commandInstance An instance a prepared command class
*/
- public final static function createWebLoginCommand (CommandResolver $resolverInstance) {
+ public static final function createWebLoginCommand (CommandResolver $resolverInstance) {
// Get new instance
$commandInstance = new WebLoginCommand();
* @param $resolverInstance An instance of a command resolver class
* @return $commandInstance An instance a prepared command class
*/
- public final static function createWebLoginFailedCommand (CommandResolver $resolverInstance) {
+ public static final function createWebLoginFailedCommand (CommandResolver $resolverInstance) {
// Get new instance
$commandInstance = new WebLoginFailedCommand();
* @param $resolverInstance An instance of a command resolver class
* @return $commandInstance An instance a prepared command class
*/
- public final static function createWebLogoutCommand (CommandResolver $resolverInstance) {
+ public static final function createWebLogoutCommand (CommandResolver $resolverInstance) {
// Get new instance
$commandInstance = new WebLogoutCommand();
* @param $resolverInstance An instance of a command resolver class
* @return $commandInstance An instance a prepared command class
*/
- public final static function createWebLogoutDoneCommand (CommandResolver $resolverInstance) {
+ public static final function createWebLogoutDoneCommand (CommandResolver $resolverInstance) {
// Get new instance
$commandInstance = new WebLogoutDoneCommand();
* @param $resolverInstance An instance of a command resolver class
* @return $commandInstance An instance a prepared command class
*/
- public final static function createWebProblemCommand (CommandResolver $resolverInstance) {
+ public static final function createWebProblemCommand (CommandResolver $resolverInstance) {
// Get new instance
$commandInstance = new WebProblemCommand();
* @param $resolverInstance An instance of a command resolver class
* @return $commandInstance An instance a prepared command class
*/
- public final static function createWebRegisterCommand (CommandResolver $resolverInstance) {
+ public static final function createWebRegisterCommand (CommandResolver $resolverInstance) {
// Get new instance
$commandInstance = new WebRegisterCommand();
* @param $resolverInstance An instance of a command resolver class
* @return $commandInstance An instance a prepared command class
*/
- public final static function createWebResendLinkCommand (CommandResolver $resolverInstance) {
+ public static final function createWebResendLinkCommand (CommandResolver $resolverInstance) {
// Get new instance
$commandInstance = new WebResendLinkCommand();
* @param $resolverInstance An instance of a command resolver class
* @return $commandInstance An instance a prepared command class
*/
- public final static function createWebStatusCommand (CommandResolver $resolverInstance) {
+ public static final function createWebStatusCommand (CommandResolver $resolverInstance) {
// Get new instance
$commandInstance = new WebStatusCommand();
*
* @return $cInstance An instance of this class
*/
- public final static function createBzip2Compressor () {
+ public static final function createBzip2Compressor () {
// Get new instance
if ((function_exists('bzcompress')) && (function_exists('bzdecompress'))) {
// Compressor can maybe be used
*
* @return $cInstance An instance of this class
*/
- public final static function createGzipCompressor () {
+ public static final function createGzipCompressor () {
// Get new instance
if ((function_exists('gzcompress')) && (function_exists('gzuncompress'))) {
// Compressor can maybe be used
*
* @return $cInstance An instance of this class
*/
- public final static function createNullCompressor () {
+ public static final function createNullCompressor () {
// Get new instance
$cInstance = new NullCompressor();
* @param $packageData Raw package data
* @return $containerInstance An instance of this Container class
*/
- public final static function createSocketContainer ($socketResource, ProtocolHandler $protocolInstance, array $packageData) {
+ public static final function createSocketContainer ($socketResource, ProtocolHandler $protocolInstance, array $packageData) {
// Get a new instance
$containerInstance = new SocketContainer();
* @param $resolverInstance An instance of a command resolver class
* @return $controllerInstance A prepared instance of this class
*/
- public final static function createImageCodeCaptchaController (CommandResolver $resolverInstance) {
+ public static final function createImageCodeCaptchaController (CommandResolver $resolverInstance) {
// Create the instance
$controllerInstance = new ImageCodeCaptchaController();
* @param $resolverInstance An instance of a command resolver class
* @return $controllerInstance A prepared instance of this class
*/
- public final static function createConsoleDefaultController (CommandResolver $resolverInstance) {
+ public static final function createConsoleDefaultController (CommandResolver $resolverInstance) {
// Create the instance
$controllerInstance = new ConsoleDefaultController();
* @param $resolverInstance An instance of a command resolver class
* @return $controllerInstance A prepared instance of this class
*/
- public final static function createConsoleDefaultNewsController (CommandResolver $resolverInstance) {
+ public static final function createConsoleDefaultNewsController (CommandResolver $resolverInstance) {
// Create the instance
$controllerInstance = new ConsoleDefaultNewsController();
* @param $resolverInstance An instance of a resolver class
* @return $controllerInstance A prepared instance of this class
*/
- public final static function createWebDoFormController (CommandResolver $resolverInstance) {
+ public static final function createWebDoFormController (CommandResolver $resolverInstance) {
// Create the instance
$controllerInstance = new WebDoFormController();
* @param $resolverInstance An instance of a command resolver class
* @return $controllerInstance A prepared instance of this class
*/
- public final static function createImageDefaultController (CommandResolver $resolverInstance) {
+ public static final function createImageDefaultController (CommandResolver $resolverInstance) {
// Create the instance
$controllerInstance = new ImageDefaultController();
* @return $controllerInstance A prepared instance of this class
* @todo Add some morer filters to this controller
*/
- public final static function createWebLoginAreaController (CommandResolver $resolverInstance) {
+ public static final function createWebLoginAreaController (CommandResolver $resolverInstance) {
// Create the instance
$controllerInstance = new WebLoginAreaController();
* @return $controllerInstance A prepared instance of this class
* @todo Add some filters to this controller
*/
- public final static function createWebConfirmController (CommandResolver $resolverInstance) {
+ public static final function createWebConfirmController (CommandResolver $resolverInstance) {
// Create the instance
$controllerInstance = new WebConfirmController();
* @param $resolverInstance An instance of a command resolver class
* @return $controllerInstance A prepared instance of this class
*/
- public final static function createWebDefaultController (CommandResolver $resolverInstance) {
+ public static final function createWebDefaultController (CommandResolver $resolverInstance) {
// Create the instance
$controllerInstance = new WebDefaultController();
* @param $resolverInstance An instance of a command resolver class
* @return $controllerInstance A prepared instance of this class
*/
- public final static function createWebDefaultNewsController (CommandResolver $resolverInstance) {
+ public static final function createWebDefaultNewsController (CommandResolver $resolverInstance) {
// Create the instance
$controllerInstance = new WebDefaultNewsController();
* @return $controllerInstance A prepared instance of this class
* @todo Add some filters to this controller
*/
- public final static function createWebLoginController (CommandResolver $resolverInstance) {
+ public static final function createWebLoginController (CommandResolver $resolverInstance) {
// Create the instance
$controllerInstance = new WebLoginController();
* @param $resolverInstance An instance of a command resolver class
* @return $controllerInstance A prepared instance of this class
*/
- public final static function createWebLoginFailedController (CommandResolver $resolverInstance) {
+ public static final function createWebLoginFailedController (CommandResolver $resolverInstance) {
// Create the instance
$controllerInstance = new WebLoginFailedController();
* @param $resolverInstance An instance of a command resolver class
* @return $controllerInstance A prepared instance of this class
*/
- public final static function createWebLogoutController (CommandResolver $resolverInstance) {
+ public static final function createWebLogoutController (CommandResolver $resolverInstance) {
// Create the instance
$controllerInstance = new WebLogoutController();
* @return $controllerInstance A prepared instance of this class
* @todo Add some filters to this controller
*/
- public final static function createWebLogoutDoneController (CommandResolver $resolverInstance) {
+ public static final function createWebLogoutDoneController (CommandResolver $resolverInstance) {
// Create the instance
$controllerInstance = new WebLogoutDoneController();
* @return $controllerInstance A prepared instance of this class
* @todo Add some filters to this controller
*/
- public final static function createWebProblemController (CommandResolver $resolverInstance) {
+ public static final function createWebProblemController (CommandResolver $resolverInstance) {
// Create the instance
$controllerInstance = new WebProblemController();
* @return $controllerInstance A prepared instance of this class
* @todo Add some filters to this controller
*/
- public final static function createWebRegisterController (CommandResolver $resolverInstance) {
+ public static final function createWebRegisterController (CommandResolver $resolverInstance) {
// Create the instance
$controllerInstance = new WebRegisterController();
* @param $resolverInstance An instance of a command resolver class
* @return $controllerInstance A prepared instance of this class
*/
- public final static function createWebStatusController (CommandResolver $resolverInstance) {
+ public static final function createWebStatusController (CommandResolver $resolverInstance) {
// Create the instance
$controllerInstance = new WebStatusController();
* @param $tableName Name of the table
* @return $criteriaInstance An instance of this criteria
*/
- public final static function createDataSetCriteria ($tableName) {
+ public static final function createDataSetCriteria ($tableName) {
// Get a new instance
$criteriaInstance = new DataSetCriteria();
*
* @return $criteriaInstance An instance of this criteria
*/
- public final static function createSearchCriteria () {
+ public static final function createSearchCriteria () {
// Get a new instance
$criteriaInstance = new SearchCriteria();
*
* @return $criteriaInstance An instance of this criteria
*/
- public final static function createUpdateCriteria () {
+ public static final function createUpdateCriteria () {
// Get a new instance
$criteriaInstance = new UpdateCriteria();
*
* @return $cryptoInstance An instance of this crypto helper class
*/
- public final static function createCryptoHelper () {
+ public static final function createCryptoHelper () {
// Get a new instance
$cryptoInstance = new CryptoHelper();
*
* @return $selfInstance An instance of this crypto helper class
*/
- public final static function getInstance () {
+ public static final function getInstance () {
// Is no instance there?
if (is_null(self::$selfInstance)) {
// Then get a new one
* should be FileIoHandler
* @return $dbInstance An instance of LocalFileDatabase
*/
- public final static function createLocalFileDatabase ($savePath, FileIoHandler $ioInstance) {
+ public static final function createLocalFileDatabase ($savePath, FileIoHandler $ioInstance) {
// Get an instance
$databaseInstance = new LocalFileDatabase();
*
* @return $wrapperInstance An instance of the created wrapper class
*/
- public final static function createNewsDatabaseWrapper () {
+ public static final function createNewsDatabaseWrapper () {
// Get a new instance
$wrapperInstance = new NewsDatabaseWrapper();
*
* @return $wrapperInstance An instance of the created wrapper class
*/
- public final static function createPaymentsDatabaseWrapper () {
+ public static final function createPaymentsDatabaseWrapper () {
// Get a new instance
$wrapperInstance = new PaymentsDatabaseWrapper();
*
* @return $wrapperInstance An instance of the created wrapper class
*/
- public final static function createUserDatabaseWrapper () {
+ public static final function createUserDatabaseWrapper () {
// Get a new instance
$wrapperInstance = new UserDatabaseWrapper();
*
* @return $wrapperInstance An instance of the created wrapper class
*/
- public final static function createUserPointsDatabaseWrapper () {
+ public static final function createUserPointsDatabaseWrapper () {
// Get a new instance
$wrapperInstance = new UserPointsDatabaseWrapper();
*
* @return $debugInstance The prepared debug instance
*/
- public final static function createDebugConsoleOutput () {
+ public static final function createDebugConsoleOutput () {
// Get a new instance
$debugInstance = new DebugConsoleOutput();
*
* @return $debugInstance The prepared debug instance
*/
- public final static function createDebugErrorLogOutput () {
+ public static final function createDebugErrorLogOutput () {
// Get a new instance
$debugInstance = new DebugErrorLogOutput();
*
* @return $debugInstance The prepared debug instance
*/
- public final static function createDebugWebOutput () {
+ public static final function createDebugWebOutput () {
// Get a new instance
$debugInstance = new DebugWebOutput();
* @param $innerTemplateInstance A CompileableTemplate instance
* @return $templateInstance An instance of TemplateEngine
*/
- public final static function createXmlRewriterTemplateDecorator (CompileableTemplate $innerTemplateInstance) {
+ public static final function createXmlRewriterTemplateDecorator (CompileableTemplate $innerTemplateInstance) {
// Get a new instance
$templateInstance = new XmlRewriterTemplateDecorator();
* @param $innerParserInstance A Parseable instance
* @return $parserInstance An instance of this parser
*/
- public final static function createXmlCompactorDecorator (Parseable $innerParserInstance) {
+ public static final function createXmlCompactorDecorator (Parseable $innerParserInstance) {
// Get a new instance
$parserInstance = new XmlCompactorDecorator();
* @param $filterInstance An instance of a filter
* @return $discoveryInstance An instance of this discovery class
*/
- public final static function createLocalPaymentDiscovery (Filterable $filterInstance) {
+ public static final function createLocalPaymentDiscovery (Filterable $filterInstance) {
// Get an instance of this class
$discoveryInstance = new LocalPaymentDiscovery();
*
* @return $selfInstance An instance of this class
*/
- public final static function getFactory () {
+ public static final function getFactory () {
// Is the instance null?
if (is_null(self::$selfInstance)) {
// Set a new one
* @throws NoClassException If the requested class was not found
* @throws EmptyVariableException If a variable is empty unexpectly
*/
- public final static function createObjectByName ($className, array $args=array()) {
+ public static final function createObjectByName ($className, array $args=array()) {
// First get an instance of this factory
$factoryInstance = new ObjectFactory();
* @param $args Arguments in an indexed array
* @return $objectInstance An instance of the requested object
*/
- public final static function createObjectByConfiguredName ($configEntry, array $args=array()) {
+ public static final function createObjectByConfiguredName ($configEntry, array $args=array()) {
// Read the configuration entry
$className = FrameworkConfiguration::getInstance()->getConfigEntry($configEntry);
*
* @return $total Total amount of generated objects
*/
- public final static function getTotal () {
+ public static final function getTotal () {
return self::$total;
}
}
* @param $requestInstance An instance of a request class
* @return $factoryInstance An instance of a WebNewsFactory class
*/
- public final static function createFactoryByRequest (Requestable $requestInstance) {
+ public static final function createFactoryByRequest (Requestable $requestInstance) {
// Set default news reader class
$configEntry = 'news_reader_class';
*
* @return $filterInstance An instance of this filter class
*/
- public final static function createUserAuthFilter () {
+ public static final function createUserAuthFilter () {
// Get a new instance
$filterInstance = new UserAuthFilter();
*
* @return $filterInstance An instance of this filter class
*/
- public final static function createEmailChangeFilter () {
+ public static final function createEmailChangeFilter () {
// Get a new instance
$filterInstance = new EmailChangeFilter();
* @param $controllerInstance An instance of a controller class
* @return $filterInstance An instance of this filter class
*/
- public final static function createPasswordChangeFilter () {
+ public static final function createPasswordChangeFilter () {
// Get a new instance
$filterInstance = new PasswordChangeFilter();
*
* @return $filterInstance An instance of this filter class
*/
- public final static function createRulesAcceptedFilter () {
+ public static final function createRulesAcceptedFilter () {
// Get a new instance
$filterInstance = new RulesAcceptedFilter();
*
* @return $chainInstance An instance of this class
*/
- public final static function createFilterChain () {
+ public static final function createFilterChain () {
// Get a new instance
$chainInstance = new FilterChain();
*
* @return $filterInstance An instance of this filter class
*/
- public final static function createCaptchaEncryptFilter () {
+ public static final function createCaptchaEncryptFilter () {
// Get a new instance
$filterInstance = new CaptchaEncryptFilter();
*
* @return $filterInstance An instance of this filter class
*/
- public final static function createUserNameIsGuestFilter () {
+ public static final function createUserNameIsGuestFilter () {
// Get a new instance
$filterInstance = new UserNameIsGuestFilter();
*
* @return $filterInstance An instance of this filter class
*/
- public final static function createNewsDownloadFilter () {
+ public static final function createNewsDownloadFilter () {
// Get a new instance
$filterInstance = new NewsDownloadFilter();
*
* @return $filterInstance An instance of this filter class
*/
- public final static function createNewsProcessFilter () {
+ public static final function createNewsProcessFilter () {
// Get a new instance
$filterInstance = new NewsProcessFilter();
*
* @return $filterInstance An instance of this filter class
*/
- public final static function createNullFilter () {
+ public static final function createNullFilter () {
// Get a new instance
$filterInstance = new NullFilter();
* @return $filterInstance An instance of this filter class
* @throws NullPointerException If the resolver is not set
*/
- public final static function createPaymentDiscoveryFilter (PerformableAction $actionInstance) {
+ public static final function createPaymentDiscoveryFilter (PerformableAction $actionInstance) {
// Get a new instance
$filterInstance = new PaymentDiscoveryFilter();
*
* @return $filterInstance An instance of this filter class
*/
- public final static function createUserStatusConfimedUpdateFilter () {
+ public static final function createUserStatusConfimedUpdateFilter () {
// Get a new instance
$filterInstance = new UserStatusConfimedUpdateFilter();
*
* @return $filterInstance An instance of this filter class
*/
- public final static function createUserUpdateFilter () {
+ public static final function createUserUpdateFilter () {
// Get a new instance
$filterInstance = new UserUpdateFilter();
*
* @return $filterInstance An instance of this filter class
*/
- public final static function createEmailValidatorFilter () {
+ public static final function createEmailValidatorFilter () {
// Get a new instance
$filterInstance = new EmailValidatorFilter();
*
* @return $filterInstance An instance of this filter class
*/
- public final static function createPasswordValidatorFilter () {
+ public static final function createPasswordValidatorFilter () {
// Get a new instance
$filterInstance = new PasswordValidatorFilter();
*
* @return $filterInstance An instance of this filter class
*/
- public final static function createUserNameValidatorFilter () {
+ public static final function createUserNameValidatorFilter () {
// Get a new instance
$filterInstance = new UserNameValidatorFilter();
*
* @return $filterInstance An instance of this filter class
*/
- public final static function createAccountPasswordVerifierFilter () {
+ public static final function createAccountPasswordVerifierFilter () {
// Get a new instance
$filterInstance = new AccountPasswordVerifierFilter();
*
* @return $filterInstance An instance of this filter class
*/
- public final static function createConfirmCodeVerifierFilter () {
+ public static final function createConfirmCodeVerifierFilter () {
// Get a new instance
$filterInstance = new ConfirmCodeVerifierFilter();
*
* @return $filterInstance An instance of this filter class
*/
- public final static function createGraphicalCodeCaptchaVerifierFilter () {
+ public static final function createGraphicalCodeCaptchaVerifierFilter () {
// Get a new instance
$filterInstance = new GraphicalCodeCaptchaVerifierFilter();
*
* @return $filterInstance An instance of this filter class
*/
- public final static function createPasswordGuestVerifierFilter () {
+ public static final function createPasswordGuestVerifierFilter () {
// Get a new instance
$filterInstance = new PasswordGuestVerifierFilter();
*
* @return $filterInstance An instance of this filter class
*/
- public final static function createPasswordVerifierFilter () {
+ public static final function createPasswordVerifierFilter () {
// Get a new instance
$filterInstance = new PasswordVerifierFilter();
*
* @return $filterInstance An instance of this filter class
*/
- public final static function createUserGuestVerifierFilter () {
+ public static final function createUserGuestVerifierFilter () {
// Get a new instance
$filterInstance = new UserGuestVerifierFilter();
*
* @return $filterInstance An instance of this filter class
*/
- public final static function createUserNameVerifierFilter () {
+ public static final function createUserNameVerifierFilter () {
// Get a new instance
$filterInstance = new UserNameVerifierFilter();
*
* @return $filterInstance An instance of this filter class
*/
- public final static function createUserStatusVerifierFilter () {
+ public static final function createUserStatusVerifierFilter () {
// Get a new instance
$filterInstance = new UserStatusVerifierFilter();
*
* @return $filterInstance An instance of this filter class
*/
- public final static function createUserUnconfirmedVerifierFilter () {
+ public static final function createUserUnconfirmedVerifierFilter () {
// Get a new instance
$filterInstance = new UserUnconfirmedVerifierFilter();
* @param $imageType Type of the image
* @return $helperInstance A preparedf instance of this helper
*/
- public final static function createImageHelper (CompileableTemplate $templateInstance, $imageType) {
+ public static final function createImageHelper (CompileableTemplate $templateInstance, $imageType) {
// Get new instance
$helperInstance = new ImageHelper();
* @param $extraInstance An extra instance, just for better hash data
* @return $captchaInstance An instance of this captcha class
*/
- public final static function createGraphicalCodeCaptcha (HelpableTemplate $helperInstance, FrameworkInterface $extraInstance = null) {
+ public static final function createGraphicalCodeCaptcha (HelpableTemplate $helperInstance, FrameworkInterface $extraInstance = null) {
// Get a new instance
$captchaInstance = new GraphicalCodeCaptcha();
* @param $blockName Name of the block we shall generate
* @return $helperInstance A prepared instance of this helper
*/
- public final static function createWebBlockHelper (CompileableTemplate $templateInstance, $blockName) {
+ public static final function createWebBlockHelper (CompileableTemplate $templateInstance, $blockName) {
// Get new instance
$helperInstance = new WebBlockHelper();
* @param $withForm Wether include the form tag
* @return $helperInstance A preparedf instance of this helper
*/
- public final static function createWebFormHelper (CompileableTemplate $templateInstance, $formName, $formId = false, $withForm = true) {
+ public static final function createWebFormHelper (CompileableTemplate $templateInstance, $formName, $formId = false, $withForm = true) {
// Get new instance
$helperInstance = new WebFormHelper();
* @return $helperInstance A prepared instance of this helper
* @throws NoConfigEntryException A deprecated exception at this point
*/
- public final static function createWebLinkHelper (CompileableTemplate $templateInstance, $linkName, $linkBase = null) {
+ public static final function createWebLinkHelper (CompileableTemplate $templateInstance, $linkName, $linkBase = null) {
// Get new instance
$helperInstance = new WebLinkHelper();
* @param $templateInstance A template instance
* @return $imageInstance An instance of this image class
*/
- public final static function createPngImage(CompileableTemplate $templateInstance) {
+ public static final function createPngImage(CompileableTemplate $templateInstance) {
// Get a new instance
$imageInstance = new PngImage();
*
* @return $ioInstance An instance of FileIoStream
*/
- public final static function createFileIoStream () {
+ public static final function createFileIoStream () {
// Create new instance
$ioInstance = new FileIoStream();
* @throws DirPointerNotOpened If opendir() returns not a
* directory resource
*/
- public final static function createFrameworkDirectoryPointer ($pathName, $inConstructor = false) {
+ public static final function createFrameworkDirectoryPointer ($pathName, $inConstructor = false) {
// Some pre-sanity checks...
if (is_null($pathName)) {
// No pathname given
* @throws FileIoException If fopen() returns not a file resource
* @return void
*/
- public final static function createFrameworkFileInputPointer ($fileName) {
+ public static final function createFrameworkFileInputPointer ($fileName) {
// Some pre-sanity checks...
if ((is_null($fileName)) || (empty($fileName))) {
// No filename given
* @throws FileIoException If fopen() returns not a file resource
* @return void
*/
- public final static function createFrameworkFileOutputPointer ($fileName, $mode) {
+ public static final function createFrameworkFileOutputPointer ($fileName, $mode) {
// Some pre-sanity checks...
if (is_null($fileName)) {
// No filename given
* @throws LanguagePathReadProtectedException If $languageBasePath is
* read-protected
*/
- public final static function createLanguageSystem ($languageBasePath) {
+ public static final function createLanguageSystem ($languageBasePath) {
// Get a new instance
$langInstance = new LanguageSystem();
*
* @return $thisInstance An instance of this class
*/
- public final static function getInstance () {
+ public static final function getInstance () {
return self::$thisInstance;
}
* @param $templateName Name of email template to set
* @return $mailerInstance An instance of this mailer class
*/
- public final static function createDebugMailer (CompileableTemplate $templateInstance, ManageableApplication $appInstance, $templateName) {
+ public static final function createDebugMailer (CompileableTemplate $templateInstance, ManageableApplication $appInstance, $templateName) {
// Get a new instance
$mailerInstance = new DebugMailer();
* @param $contentType A valid content-type
* @return $debugInstance An instance of this middleware class
*/
- public final static function createConsoleOutput ($contentType) {
+ public static final function createConsoleOutput ($contentType) {
// Cast the content-type to string
$contentType = (string) $contentType;
$contentType = trim($contentType);
*
* @return $consoleInstance An instance of this class
*/
- public final static function getInstance() {
+ public static final function getInstance() {
if (is_null(self::$consoleInstance)) {
$contentType = FrameworkConfiguration::getInstance()->getConfigEntry('web_content_type');
self::$consoleInstance = ConsoleOutput::createConsoleOutput($contentType);
* @param $applicationInstance An instance of a ManageableApplication class
* @return $debugInstance An instance of this middleware class
*/
- public final static function createWebOutput (ManageableApplication $applicationInstance) {
+ public static final function createWebOutput (ManageableApplication $applicationInstance) {
// Is there no instance?
if (is_null(self::$webInstance)) {
// Get a new instance and set it
* @param $templateInstance A CompileableTemplate instance
* @return $parserInstance An instance of this parser
*/
- public final static function createXmlParser (CompileableTemplate $templateInstance) {
+ public static final function createXmlParser (CompileableTemplate $templateInstance) {
// Get a new instance
$parserInstance = new XmlParser();
* @param $userInstance An instance of a user class
* @return $pointsInstance An instance of this class
*/
- public final static function createUserPoints (ManageableAccount $userInstance) {
+ public static final function createUserPoints (ManageableAccount $userInstance) {
// Get a new instance
$pointsInstance = new UserPoints();
* @param $requestInstance An instance of a Requestable class
* @return $readerInstance An instance of this reader class
*/
- public final static function createConsoleNewsReader (Requestable $requestInstance) {
+ public static final function createConsoleNewsReader (Requestable $requestInstance) {
// Get a new instance
$readerInstance = new ConsoleNewsReader();
* @param $requestInstance An instance of a Requestable class
* @return $readerInstance An instance of this reader class
*/
- public final static function createDefaultNewsReader (Requestable $requestInstance) {
+ public static final function createDefaultNewsReader (Requestable $requestInstance) {
// Get a new instance
$readerInstance = new DefaultNewsReader();
*
* @return $registryInstance Instance of this class
*/
- public final static function getRegistry () {
+ public static final function getRegistry () {
// Is an instance there?
if (is_null(self::$registryInstance)) {
// Not yet, so create one
*
* @return $registryInstance An instance of this registry class
*/
- public final static function createSubRegistry () {
+ public static final function createSubRegistry () {
// Just get a new instance ...
$registryInstance = new SubRegistry();
*
* @return $httpInstance An instance of this class
*/
- public final static function createConsoleRequest () {
+ public static final function createConsoleRequest () {
// Create an instance
$httpInstance = new ConsoleRequest();
*
* @return $httpInstance An instance of this class
*/
- public final static function createHttpRequest () {
+ public static final function createHttpRequest () {
// Create an instance
$httpInstance = new HttpRequest();
* @throws EmptyVariableException Thrown if default action is not set
* @throws InvalidActionException Thrown if default action is invalid
*/
- public final static function createWebActionResolver ($actionName, ManageableApplication $appInstance) {
+ public static final function createWebActionResolver ($actionName, ManageableApplication $appInstance) {
// Create the new instance
$resolverInstance = new WebActionResolver();
* @throws EmptyVariableException Thrown if default command is not set
* @throws InvalidCommandException Thrown if default command is invalid
*/
- public final static function createConsoleCommandResolver ($commandName, ManageableApplication $appInstance) {
+ public static final function createConsoleCommandResolver ($commandName, ManageableApplication $appInstance) {
// Create the new instance
$resolverInstance = new ConsoleCommandResolver();
* @throws EmptyVariableException Thrown if default command is not set
* @throws InvalidCommandException Thrown if default command is invalid
*/
- public final static function createImageCommandResolver ($commandName, ManageableApplication $appInstance) {
+ public static final function createImageCommandResolver ($commandName, ManageableApplication $appInstance) {
// Create the new instance
$resolverInstance = new ImageCommandResolver();
* @throws EmptyVariableException Thrown if default command is not set
* @throws InvalidCommandException Thrown if default command is invalid
*/
- public final static function createWebCommandResolver ($commandName, ManageableApplication $appInstance) {
+ public static final function createWebCommandResolver ($commandName, ManageableApplication $appInstance) {
// Create the new instance
$resolverInstance = new WebCommandResolver();
* @throws EmptyVariableException Thrown if default command is not set
* @throws InvalidControllerException Thrown if default controller is invalid
*/
- public final static function createConsoleControllerResolver ($controllerName, ManageableApplication $appInstance) {
+ public static final function createConsoleControllerResolver ($controllerName, ManageableApplication $appInstance) {
// Create the new instance
$resolverInstance = new ConsoleControllerResolver();
* @throws EmptyVariableException Thrown if default command is not set
* @throws InvalidControllerException Thrown if default controller is invalid
*/
- public final static function createImageControllerResolver ($controllerName, ManageableApplication $appInstance) {
+ public static final function createImageControllerResolver ($controllerName, ManageableApplication $appInstance) {
// Create the new instance
$resolverInstance = new ImageControllerResolver();
* @throws EmptyVariableException Thrown if default command is not set
* @throws InvalidControllerException Thrown if default controller is invalid
*/
- public final static function createWebControllerResolver ($controllerName, ManageableApplication $appInstance) {
+ public static final function createWebControllerResolver ($controllerName, ManageableApplication $appInstance) {
// Create the new instance
$resolverInstance = new WebControllerResolver();
* @param $appInstance An instance of a manageable application
* @return $responseInstance A prepared instance of this class
*/
- public final static function createConsoleResponse (ManageableApplication $appInstance) {
+ public static final function createConsoleResponse (ManageableApplication $appInstance) {
// Get a new instance
$responseInstance = new ConsoleResponse();
* @param $appInstance An instance of a manageable application
* @return $responseInstance A prepared instance of this class
*/
- public final static function createHttpResponse (ManageableApplication $appInstance) {
+ public static final function createHttpResponse (ManageableApplication $appInstance) {
// Get a new instance
$responseInstance = new HttpResponse();
* @param $appInstance An instance of a manageable application
* @return $responseInstance A prepared instance of this class
*/
- public final static function createImageResponse (ManageableApplication $appInstance) {
+ public static final function createImageResponse (ManageableApplication $appInstance) {
// Get a new instance
$responseInstance = new ImageResponse();
* @param $resultArray The array holding the result from query
* @return $resultInstance An instance of this class
*/
- public final static function createDatabaseResult (array $resultArray) {
+ public static final function createDatabaseResult (array $resultArray) {
// Get a new instance
$resultInstance = new DatabaseResult();
* @param $extraInstance An extra instance for more salt (default: null)
* @return $rngInstance An instance of this random number generator
*/
- public final static function createRandomNumberGenerator (FrameworkInterface $extraInstance = null) {
+ public static final function createRandomNumberGenerator (FrameworkInterface $extraInstance = null) {
// Get a new instance
$rngInstance = new RandomNumberGenerator();
*
* @return $stackerInstance An instance of FiFoStacker
*/
- public final static function createFiFoStacker () {
+ public static final function createFiFoStacker () {
// Get a new instance
$stackerInstance = new FiFoStacker();
*
* @return $stackerInstance An instance of FiLoStacker
*/
- public final static function createFiLoStacker () {
+ public static final function createFiLoStacker () {
// Get a new instance
$stackerInstance = new FiLoStacker();
* @param $rngInstance An RNG instance
* @return $streamInstance An instance of this node class
*/
- public final static function createMcryptStream (RandomNumberGenerator $rngInstance) {
+ public static final function createMcryptStream (RandomNumberGenerator $rngInstance) {
// Get a new instance
$streamInstance = new McryptStream();
*
* @return $streamInstance An instance of this node class
*/
- public final static function createNullCryptoStream () {
+ public static final function createNullCryptoStream () {
// Get a new instance
$streamInstance = new NullCryptoStream();
* @throws BasePathReadProtectedException If $templateBasePath is
* read-protected
*/
- public final static function createConsoleTemplateEngine (ManageableApplication $appInstance) {
+ public static final function createConsoleTemplateEngine (ManageableApplication $appInstance) {
// Get a new instance
$templateInstance = new ConsoleTemplateEngine();
* @throws BasePathReadProtectedException If $templateBasePath is
* read-protected
*/
- public final static function createImageTemplateEngine (ManageableApplication $appInstance) {
+ public static final function createImageTemplateEngine (ManageableApplication $appInstance) {
// Get a new instance
$templateInstance = new ImageTemplateEngine();
* @throws BasePathReadProtectedException If $templateBasePath is
* read-protected
*/
- public final static function createMailTemplateEngine (ManageableApplication $appInstance) {
+ public static final function createMailTemplateEngine (ManageableApplication $appInstance) {
// Get a new instance
$templateInstance = new MailTemplateEngine();
* @throws BasePathReadProtectedException If $templateBasePath is
* read-protected
*/
- public final static function createMenuTemplateEngine (ManageableApplication $appInstance, RenderableMenu $menuInstance) {
+ public static final function createMenuTemplateEngine (ManageableApplication $appInstance, RenderableMenu $menuInstance) {
// Get a new instance
$templateInstance = new MenuTemplateEngine();
* @throws BasePathReadProtectedException If $templateBasePath is
* read-protected
*/
- public final static function createWebTemplateEngine (ManageableApplication $appInstance) {
+ public static final function createWebTemplateEngine (ManageableApplication $appInstance) {
// Get a new instance
$templateInstance = new WebTemplateEngine();
* @return $userInstance An instance of this user class
* @throws UsernameMissingException If the username does not exist
*/
- public final static function createGuestByUsername ($userName) {
+ public static final function createGuestByUsername ($userName) {
// Get a new instance
$userInstance = new Guest();
* @param $email Email address of the user
* @return $userInstance An instance of this user class
*/
- public final static function createGuestByEmail ($email) {
+ public static final function createGuestByEmail ($email) {
// Get a new instance
$userInstance = new Guest();
* @return $userInstance An instance of this user class
* @throws UsernameMissingException If the username does not exist
*/
- public final static function createMemberByUsername ($userName) {
+ public static final function createMemberByUsername ($userName) {
// Get a new instance
$userInstance = new Member();
* @param $email Email address of the user
* @return $userInstance An instance of this user class
*/
- public final static function createMemberByEmail ($email) {
+ public static final function createMemberByEmail ($email) {
// Get a new instance
$userInstance = new Member();
* @return $userInstance An instance of this user class
* @todo Add more ways over creating user classes
*/
- public final static function createMemberByRequest (Requestable $requestInstance) {
+ public static final function createMemberByRequest (Requestable $requestInstance) {
// Determine if by email or username
if (!is_null($requestInstance->getRequestElement('username'))) {
// Username supplied
* @param $baseDir Directory which holds our compressor classes
* @return $cInstance A prepared instance of this class
*/
- public final static function createCompressorChannel ($baseDir) {
+ public static final function createCompressorChannel ($baseDir) {
// Get new instance
$cInstance = new CompressorChannel();
}
// Create new database connection layer
- public final static function createDatabaseConnection (DebugMiddleware $debugInstance, DatabaseFrontendInterface $dbLayer) {
+ public static final function createDatabaseConnection (DebugMiddleware $debugInstance, DatabaseFrontendInterface $dbLayer) {
// Get instance
$dbInstance = new DatabaseConnection();
}
// Get an instance of this class
- public final static function getInstance () {
+ public static final function getInstance () {
return self::$thisInstance;
}
* registering the *real* debug output
* @return $debugInstance An instance of this middleware class
*/
- public final static function createDebugMiddleware ($debuggerClass) {
+ public static final function createDebugMiddleware ($debuggerClass) {
// Create an instance if this middleware
$debugInstance = new DebugMiddleware();
*
* @return $thisInstance An instance of this class
*/
- public final static function getInstance() {
+ public static final function getInstance() {
return self::$thisInstance;
}
*
* @return $ioInstance A prepared instance of FilIOHandler
*/
- public final static function createFileIoHandler () {
+ public static final function createFileIoHandler () {
// Get instance
$ioHandler = new FileIoHandler();
*
* @return $thisInstance An instance of this class
*/
- public final static function getInstance () {
+ public static final function getInstance () {
return self::$thisInstance;
}
* @param $cfg Configuration array
* @return $apiInstance An instance of this API class
*/
- public final static function createWernisApi (array $cfg) {
+ public static final function createWernisApi (array $cfg) {
// Create a new instance
$apiInstance = new WernisApi();
*
* @return $configInstance An instance of this class
*/
- public final static function getInstance () {
+ public static final function getInstance () {
// is the instance there?
if (is_null(self::$configInstance)) {
// Create a config instance
* @param $configInstance Configuration class instance
* @return void
*/
- public final static function createClassLoader (FrameworkConfiguration $configInstance) {
+ public static final function createClassLoader (FrameworkConfiguration $configInstance) {
// Get a new instance
$loaderInstance = new ClassLoader();
*
* @return $selfInstance An instance of this class
*/
- public final static function getInstance () {
+ public static final function getInstance () {
// Is the instance there?
if (is_null(self::$selfInstance)) {
// Get a new one