<?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
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
* @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
}
}