]> git.mxchange.org Git - hub.git/blobdiff - application/hub/main/cruncher/mcrypt/class_HubMcryptCruncher.php
A lot files renamed (sorry guys for the mess) and moved to sub directories
[hub.git] / application / hub / main / cruncher / mcrypt / class_HubMcryptCruncher.php
index 2ccebd716f41787a2075b71a5cf7a66dd3d2ac97..d23236d86309e1bb8bf0653243bb7cc69ffc03e2 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * A hub-cruncher class for the 'Cruncher' mode
+ * A hub-mcrypt cruncher class
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @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
        }
 }