X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=application%2Fhub%2Fmain%2Fcruncher%2Fmcrypt%2Fclass_HubMcryptCruncher.php;h=d23236d86309e1bb8bf0653243bb7cc69ffc03e2;hb=01c1eee4daca999fb09fb116c19efd589cf0cba8;hp=2ccebd716f41787a2075b71a5cf7a66dd3d2ac97;hpb=aa9b874eaec69eb371db70bb2b52b2f105cc76c9;p=hub.git diff --git a/application/hub/main/cruncher/mcrypt/class_HubMcryptCruncher.php b/application/hub/main/cruncher/mcrypt/class_HubMcryptCruncher.php index 2ccebd716..d23236d86 100644 --- a/application/hub/main/cruncher/mcrypt/class_HubMcryptCruncher.php +++ b/application/hub/main/cruncher/mcrypt/class_HubMcryptCruncher.php @@ -1,6 +1,6 @@ * @version 0.0.0 @@ -30,13 +30,16 @@ class HubMcryptCruncher extends BaseHubCruncher implements CruncherHelper, Regis protected function __construct () { // Call parent constructor parent::__construct(__CLASS__); + + // Set version number + $this->setVersion('0.0.0'); } /** * Creates an instance of this hub-cruncher class * * @param $requestInstance An instance of a Requestable class - * @return $cruncherInstance An instance of this hub-cruncher class + * @return $cruncherInstance An instance of this hub-cruncher class */ public final static function createHubMcryptCruncher (Requestable $requestInstance) { // Get a new instance @@ -70,15 +73,24 @@ class HubMcryptCruncher extends BaseHubCruncher implements CruncherHelper, Regis * @return void */ public function outputConsoleTeaser () { - $this->partialStub('Please implement this method.'); + // Output all lines + $this->debugOutput(' '); + $this->debugOutput('MCrypt Cruncher v' . $this->getVersion() . ' is starting ...'); + $this->debugOutput('Copyright (c) 2007 - 2008 Roland Haeder, 2009 - 2011 Hub Developer Team'); + $this->debugOutput(' '); + $this->debugOutput('This program comes with ABSOLUTELY NO WARRANTY; for details see docs/COPYING.'); + $this->debugOutput('This is free software, and you are welcome to redistribute it under certain'); + $this->debugOutput('conditions; see docs/COPYING for details.'); + $this->debugOutput(' '); } /** * Add some cruncher-specific filters * * @return void + * @todo 0% done */ - public function addExtraHubFilters () { + public function addExtraCruncherFilters () { // Add some filters here } }