<?php
/**
- * Load framework classes first
+ * Load required framework classes first
*
* @author Roland Haeder <webmaster@ship-simu.org>
* @version 0.0
* remove the "abstract" key-word. Better you make your own exception and
* attach a dedicated message to it.
*
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0
+ * @author Roland Haeder <webmaster@mxchange.org>
+ * @version 0.3.0
* @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
* @license GNU GPL 3.0 or any newer version
+ * @link http://www.mxchange.org
*
* 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
/**
* An exception thrown when compressors are mismatching
*
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0
+ * @author Roland Haeder <webmaster@mxchange.org>
+ * @version 0.3.0
* @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
* @license GNU GPL 3.0 or any newer version
+ * @link http://www.mxchange.org
*
* 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
/**
* An exception thrown when a container item is not an array
*
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0
+ * @author Roland Haeder <webmaster@mxchange.org>
+ * @version 0.3.0
* @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
* @license GNU GPL 3.0 or any newer version
- *
+ * @link http://www.mxchange.org
+ *
* 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
* the Free Software Foundation, either version 3 of the License, or
/**
* An exception thrown when a container item is null
*
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0
+ * @author Roland Haeder <webmaster@mxchange.org>
+ * @version 0.3.0
* @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
* @license GNU GPL 3.0 or any newer version
- *
+ * @link http://www.mxchange.org
+ *
* 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
* the Free Software Foundation, either version 3 of the License, or
/**
* An exception thrown when the container is possibly damaged
*
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0
+ * @author Roland Haeder <webmaster@mxchange.org>
+ * @version 0.3.0
* @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
* @license GNU GPL 3.0 or any newer version
- *
+ * @link http://www.mxchange.org
+ *
* 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
* the Free Software Foundation, either version 3 of the License, or
/**
* An exception thrown when the save path string is empty
*
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0
+ * @author Roland Haeder <webmaster@mxchange.org>
+ * @version 0.3.0
* @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
* @license GNU GPL 3.0 or any newer version
- *
+ * @link http://www.mxchange.org
+ *
* 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
* the Free Software Foundation, either version 3 of the License, or
/**
* An exception thrown when the save path is no directory
*
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0
+ * @author Roland Haeder <webmaster@mxchange.org>
+ * @version 0.3.0
* @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
* @license GNU GPL 3.0 or any newer version
- *
+ * @link http://www.mxchange.org
+ *
* 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
* the Free Software Foundation, either version 3 of the License, or
/**
* An exception thrown when the save path is read-protected
*
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0
+ * @author Roland Haeder <webmaster@mxchange.org>
+ * @version 0.3.0
* @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
* @license GNU GPL 3.0 or any newer version
- *
+ * @link http://www.mxchange.org
+ *
* 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
* the Free Software Foundation, either version 3 of the License, or
/**
* An exception thrown when the save path is write-protected
*
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0
+ * @author Roland Haeder <webmaster@mxchange.org>
+ * @version 0.3.0
* @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
* @license GNU GPL 3.0 or any newer version
- *
+ * @link http://www.mxchange.org
+ *
* 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
* the Free Software Foundation, either version 3 of the License, or
/**
* An exception thrown when a directory pointer is not opended
*
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0
+ * @author Roland Haeder <webmaster@mxchange.org>
+ * @version 0.3.0
* @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
* @license GNU GPL 3.0 or any newer version
- *
+ * @link http://www.mxchange.org
+ *
* 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
* the Free Software Foundation, either version 3 of the License, or
/**
* An exception thrown when a file pointer is not opened
*
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0
+ * @author Roland Haeder <webmaster@mxchange.org>
+ * @version 0.3.0
* @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
* @license GNU GPL 3.0 or any newer version
- *
+ * @link http://www.mxchange.org
+ *
* 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
* the Free Software Foundation, either version 3 of the License, or
/**
* An exception thrown when the length of the data mismatch
*
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0
+ * @author Roland Haeder <webmaster@mxchange.org>
+ * @version 0.3.0
* @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
* @license GNU GPL 3.0 or any newer version
- *
+ * @link http://www.mxchange.org
+ *
* 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
* the Free Software Foundation, either version 3 of the License, or
/**
* An exception thrown when the returned directory resource is invalid
*
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0
+ * @author Roland Haeder <webmaster@mxchange.org>
+ * @version 0.3.0
* @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
* @license GNU GPL 3.0 or any newer version
- *
+ * @link http://www.mxchange.org
+ *
* 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
* the Free Software Foundation, either version 3 of the License, or
/**
* An exception thrown when a MD5 checksum does not exception
*
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0
+ * @author Roland Haeder <webmaster@mxchange.org>
+ * @version 0.3.0
* @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
* @license GNU GPL 3.0 or any newer version
- *
+ * @link http://www.mxchange.org
+ *
* 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
* the Free Software Foundation, either version 3 of the License, or
/**
* An exception thrown when the path string is empty
*
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0
+ * @author Roland Haeder <webmaster@mxchange.org>
+ * @version 0.3.0
* @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
* @license GNU GPL 3.0 or any newer version
- *
+ * @link http://www.mxchange.org
+ *
* 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
* the Free Software Foundation, either version 3 of the License, or
/**
* An exception thrown when a given path is not a directory
*
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0
+ * @author Roland Haeder <webmaster@mxchange.org>
+ * @version 0.3.0
* @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
* @license GNU GPL 3.0 or any newer version
- *
+ * @link http://www.mxchange.org
+ *
* 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
* the Free Software Foundation, either version 3 of the License, or
/**
* An exception thrown when a path is read-protected
*
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0
+ * @author Roland Haeder <webmaster@mxchange.org>
+ * @version 0.3.0
* @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
* @license GNU GPL 3.0 or any newer version
- *
+ * @link http://www.mxchange.org
+ *
* 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
* the Free Software Foundation, either version 3 of the License, or
/**
* An exception thrown when the language path string is invalid
*
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0
+ * @author Roland Haeder <webmaster@mxchange.org>
+ * @version 0.3.0
* @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
* @license GNU GPL 3.0 or any newer version
- *
+ * @link http://www.mxchange.org
+ *
* 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
* the Free Software Foundation, either version 3 of the License, or
/**
* An exception thrown when the language path string is empty
*
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0
+ * @author Roland Haeder <webmaster@mxchange.org>
+ * @version 0.3.0
* @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
* @license GNU GPL 3.0 or any newer version
- *
+ * @link http://www.mxchange.org
+ *
* 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
* the Free Software Foundation, either version 3 of the License, or
/**
* An exception thrown when the language path is no directory
*
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0
+ * @author Roland Haeder <webmaster@mxchange.org>
+ * @version 0.3.0
* @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
* @license GNU GPL 3.0 or any newer version
- *
+ * @link http://www.mxchange.org
+ *
* 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
* the Free Software Foundation, either version 3 of the License, or
/**
* An exception thrown when the language path is read-protected
*
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0
+ * @author Roland Haeder <webmaster@mxchange.org>
+ * @version 0.3.0
* @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
* @license GNU GPL 3.0 or any newer version
- *
+ * @link http://www.mxchange.org
+ *
* 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
* the Free Software Foundation, either version 3 of the License, or
/**
* An exception thrown when two classes are not matching
*
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0
+ * @author Roland Haeder <webmaster@mxchange.org>
+ * @version 0.3.0
* @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
* @license GNU GPL 3.0 or any newer version
- *
+ * @link http://www.mxchange.org
+ *
* 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
* the Free Software Foundation, either version 3 of the License, or
/**
* An exception thrown when a class was not found
*
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0
+ * @author Roland Haeder <webmaster@mxchange.org>
+ * @version 0.3.0
* @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
* @license GNU GPL 3.0 or any newer version
- *
+ * @link http://www.mxchange.org
+ *
* 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
* the Free Software Foundation, either version 3 of the License, or
/**
* An exception thrown when a configuration entry is empty
*
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0
+ * @author Roland Haeder <webmaster@mxchange.org>
+ * @version 0.3.0
* @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
* @license GNU GPL 3.0 or any newer version
- *
+ * @link http://www.mxchange.org
+ *
* 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
* the Free Software Foundation, either version 3 of the License, or
/**
* An exception thrown when a configuration entry is not found
*
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0
+ * @author Roland Haeder <webmaster@mxchange.org>
+ * @version 0.3.0
* @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
* @license GNU GPL 3.0 or any newer version
- *
+ * @link http://www.mxchange.org
+ *
* 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
* the Free Software Foundation, either version 3 of the License, or
/**
* An exception thron when dimension entries are not found in an array
*
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0
+ * @author Roland Haeder <webmaster@mxchange.org>
+ * @version 0.3.0
* @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
* @license GNU GPL 3.0 or any newer version
- *
+ * @link http://www.mxchange.org
+ *
* 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
* the Free Software Foundation, either version 3 of the License, or
/**
* An exception thrown when an exception was not changed
*
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0
+ * @author Roland Haeder <webmaster@mxchange.org>
+ * @version 0.3.0
* @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
* @license GNU GPL 3.0 or any newer version
+ * @link http://www.mxchange.org
* @deprecated
*
* This program is free software: you can redistribute it and/or modify
/**
* An exception thrown when an other exception was not found
*
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0
+ * @author Roland Haeder <webmaster@mxchange.org>
+ * @version 0.3.0
* @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
* @license GNU GPL 3.0 or any newer version
- *
+ * @link http://www.mxchange.org
+ *
* 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
* the Free Software Foundation, either version 3 of the License, or
/**
* An exception thrown when a getter for an attribute was not found
*
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0
+ * @author Roland Haeder <webmaster@mxchange.org>
+ * @version 0.3.0
* @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
* @license GNU GPL 3.0 or any newer version
- *
+ * @link http://www.mxchange.org
+ *
* 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
* the Free Software Foundation, either version 3 of the License, or
/**
* An exception thrown when the number of array elements mismatch
*
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0
+ * @author Roland Haeder <webmaster@mxchange.org>
+ * @version 0.3.0
* @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
* @license GNU GPL 3.0 or any newer version
- *
+ * @link http://www.mxchange.org
+ *
* 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
* the Free Software Foundation, either version 3 of the License, or
/**
* An exception thrown when an instance variable instances a non-object
*
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0
+ * @author Roland Haeder <webmaster@mxchange.org>
+ * @version 0.3.0
* @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
* @license GNU GPL 3.0 or any newer version
- *
+ * @link http://www.mxchange.org
+ *
* 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
* the Free Software Foundation, either version 3 of the License, or
/**
* An exception thrown when required array elements are missing
*
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0
+ * @author Roland Haeder <webmaster@mxchange.org>
+ * @version 0.3.0
* @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
* @license GNU GPL 3.0 or any newer version
- *
+ * @link http://www.mxchange.org
+ *
* 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
* the Free Software Foundation, either version 3 of the License, or
/**
* An exception thrown when the decimal and thousands seperators are missing
*
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0
+ * @author Roland Haeder <webmaster@mxchange.org>
+ * @version 0.3.0
* @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
* @license GNU GPL 3.0 or any newer version
- * @deprecated
- *
+ * @link http://www.mxchange.org
+ *
* 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
* the Free Software Foundation, either version 3 of the License, or
/**
* An exception thrown when a method is missing
*
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0
+ * @author Roland Haeder <webmaster@mxchange.org>
+ * @version 0.3.0
* @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
* @license GNU GPL 3.0 or any newer version
- *
+ * @link http://www.mxchange.org
+ *
* 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
* the Free Software Foundation, either version 3 of the License, or
/**
* An exception thrown then no array was created in a dynamic environment
*
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0
+ * @author Roland Haeder <webmaster@mxchange.org>
+ * @version 0.3.0
* @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
* @license GNU GPL 3.0 or any newer version
- *
+ * @link http://www.mxchange.org
+ *
* 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
* the Free Software Foundation, either version 3 of the License, or
<?php
/**
- * An exception thrown when the variable holds no array
- *
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0
+ * @author Roland Haeder <webmaster@mxchange.org>
+ * @version 0.3.0
* @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
* @license GNU GPL 3.0 or any newer version
+ * @link http://www.mxchange.org
*
* 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
/**
* A deprecated exception which should be replaced with InvalidObjectException
*
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0
+ * @author Roland Haeder <webmaster@mxchange.org>
+ * @version 0.3.0
* @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
* @license GNU GPL 3.0 or any newer version
+ * @link http://www.mxchange.org
* @deprecated
* @see InvalidObjectException
*
/**
* An exception thrown when an object instance is null
*
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0
+ * @author Roland Haeder <webmaster@mxchange.org>
+ * @version 0.3.0
* @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
* @license GNU GPL 3.0 or any newer version
- *
+ * @link http://www.mxchange.org
+ *
* 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
* the Free Software Foundation, either version 3 of the License, or
/**
* An exception thrown when a variable is not set
*
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0
+ * @author Roland Haeder <webmaster@mxchange.org>
+ * @version 0.3.0
* @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
* @license GNU GPL 3.0 or any newer version
- *
+ * @link http://www.mxchange.org
+ *
* 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
* the Free Software Foundation, either version 3 of the License, or
/**
* An exception throws when the base path is empty
*
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0
+ * @author Roland Haeder <webmaster@mxchange.org>
+ * @version 0.3.0
* @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
* @license GNU GPL 3.0 or any newer version
- *
+ * @link http://www.mxchange.org
+ *
* 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
* the Free Software Foundation, either version 3 of the License, or
/**
* An exception thrown when the base path is no directory
*
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0
+ * @author Roland Haeder <webmaster@mxchange.org>
+ * @version 0.3.0
* @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
* @license GNU GPL 3.0 or any newer version
- *
+ * @link http://www.mxchange.org
+ *
* 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
* the Free Software Foundation, either version 3 of the License, or
/**
* An exception thrown when the base path is read-protected
*
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0
+ * @author Roland Haeder <webmaster@mxchange.org>
+ * @version 0.3.0
* @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
* @license GNU GPL 3.0 or any newer version
- *
+ * @link http://www.mxchange.org
+ *
* 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
* the Free Software Foundation, either version 3 of the License, or
/**
* An exception throws hen the base path string is invalid
*
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0
+ * @author Roland Haeder <webmaster@mxchange.org>
+ * @version 0.3.0
* @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
* @license GNU GPL 3.0 or any newer version
- *
+ * @link http://www.mxchange.org
+ *
* 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
* the Free Software Foundation, either version 3 of the License, or
/**
* An exception thrown when a template variable name is invalid
*
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0
+ * @author Roland Haeder <webmaster@mxchange.org>
+ * @version 0.3.0
* @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
* @license GNU GPL 3.0 or any newer version
- *
+ * @link http://www.mxchange.org
+ *
* 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
* the Free Software Foundation, either version 3 of the License, or
/**
* An exception throws when the template type is not supported
*
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0
+ * @author Roland Haeder <webmaster@mxchange.org>
+ * @version 0.3.0
* @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
* @license GNU GPL 3.0 or any newer version
- *
+ * @link http://www.mxchange.org
+ *
* 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
* the Free Software Foundation, either version 3 of the License, or
* - Usage statistics
* - And many more...
*
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0
+ * @author Roland Haeder <webmaster@mxchange.org>
+ * @version 0.3.0
* @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
* @license GNU GPL 3.0 or any newer version
+ * @link http://www.mxchange.org
*
* 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
* This is the top-level interface for all other interfaces and should contain
* method stubs which is being used in every class
*
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0
+ * @author Roland Haeder <webmaster@mxchange.org>
+ * @version 0.3.0
* @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
* @license GNU GPL 3.0 or any newer version
+ * @link http://www.mxchange.org
*
* 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
/**
* An interface for compression classes
*
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0
+ * @author Roland Haeder <webmaster@mxchange.org>
+ * @version 0.3.0
* @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
* @license GNU GPL 3.0 or any newer version
+ * @link http://www.mxchange.org
*
* 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
* A compression stream
*
* @param $streamData Mixed non-object stream data
- * @return $streamData The compressed stream data
+ * @return $streamData The compressed stream data
* @throws InvalidObjectException If the stream is an object
*/
function compressStream ($streamData);
* A decompression stream
*
* @param $streamData Mixed non-object stream data
- * @return $streamData The decompressed stream data
+ * @return $streamData The decompressed stream data
* @throws InvalidObjectException If the stream is an object
*/
function decompressStream ($streamData);
/**
* The general interface for all other database interfaces
*
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0
+ * @author Roland Haeder <webmaster@mxchange.org>
+ * @version 0.3.0
* @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
* @license GNU GPL 3.0 or any newer version
+ * @link http://www.mxchange.org
*
* 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
* file databases the object shall be serialized and (maybe) transparently
* compressed before they got saved to a local file.
*
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0
+ * @author Roland Haeder <webmaster@mxchange.org>
+ * @version 0.3.0
* @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
* @license GNU GPL 3.0 or any newer version
+ * @link http://www.mxchange.org
*
* 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
/**
* An interface for middleware database classes
*
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0
+ * @author Roland Haeder <webmaster@mxchange.org>
+ * @version 0.3.0
* @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
* @license GNU GPL 3.0 or any newer version
+ * @link http://www.mxchange.org
*
* 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
/**
* An interface for debugger classes
*
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0
+ * @author Roland Haeder <webmaster@mxchange.org>
+ * @version 0.3.0
* @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
* @license GNU GPL 3.0 or any newer version
+ * @link http://www.mxchange.org
*
* 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
* This is an inface for limiting object while saving them with the
* DatabaseConnection class.
*
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0
+ * @author Roland Haeder <webmaster@mxchange.org>
+ * @version 0.3.0
* @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
* @license GNU GPL 3.0 or any newer version
+ * @link http://www.mxchange.org
*
* 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
/**
* An interface for streams
*
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0
+ * @author Roland Haeder <webmaster@mxchange.org>
+ * @version 0.3.0
* @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
* @license GNU GPL 3.0 or any newer version
+ * @link http://www.mxchange.org
*
* 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
/**
* An interface for file input operations.
*
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0
+ * @author Roland Haeder <webmaster@mxchange.org>
+ * @version 0.3.0
* @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
* @license GNU GPL 3.0 or any newer version
+ * @link http://www.mxchange.org
*
* 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
/**
* An interface for file output operations.
*
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0
+ * @author Roland Haeder <webmaster@mxchange.org>
+ * @version 0.3.0
* @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
* @license GNU GPL 3.0 or any newer version
+ * @link http://www.mxchange.org
*
* 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
/**
* An interface for output streams
*
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0
+ * @author Roland Haeder <webmaster@mxchange.org>
+ * @version 0.3.0
* @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
* @license GNU GPL 3.0 or any newer version
+ * @link http://www.mxchange.org
*
* 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
* @param $value The value to store in the variable
* @return void
*/
- function assignVariable($var, $value);
+ function assignVariable ($var, $value);
/**
* Output the code
*
* @return void
*/
- function output($outStream=false);
+ function output ($outStream=false);
}
//
/**
* An interface for language systems
*
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0
+ * @author Roland Haeder <webmaster@mxchange.org>
+ * @version 0.3.0
* @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
* @license GNU GPL 3.0 or any newer version
+ * @link http://www.mxchange.org
*
* 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
/**
* An interface for template engines
*
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0
+ * @author Roland Haeder <webmaster@mxchange.org>
+ * @version 0.3.0
* @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
* @license GNU GPL 3.0 or any newer version
+ * @link http://www.mxchange.org
*
* 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
* class handles saving of games etc.
*
* @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0
+ * @version 0.3.0
* @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
* @license GNU GPL 3.0 or any newer version
+ * @link http://www.mxchange.org
*
* 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
* some common methods used in the whole application. Please see below if you
* need more details.
*
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0
+ * @author Roland Haeder <webmaster@mxchange.org>
+ * @version 0.3.0
* @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
* @license GNU GPL 3.0 or any newer version
+ * @link http://www.mxchange.org
*
* 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
* BZIP2 compression and decompression class
*
* @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0
+ * @version 0.3.0
* @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
* @license GNU GPL 3.0 or any newer version
+ * @link http://www.mxchange.org
*
* 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
* GZIP compression and decompression class
*
* @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0
+ * @version 0.3.0
* @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
* @license GNU GPL 3.0 or any newer version
+ * @link http://www.mxchange.org
*
* 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
* Null compression and decompression class
*
* @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0
+ * @version 0.3.0
* @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
* @license GNU GPL 3.0 or any newer version
+ * @link http://www.mxchange.org
*
* 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
/**
* This class contains static helper functions for console applications
*
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0
+ * @author Roland Haeder <webmaster@mxchange.org>
+ * @version 0.3.0
* @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
* @license GNU GPL 3.0 or any newer version
+ * @link http://www.mxchange.org
*
* 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
/**
* An abstract database access class for handling database I/O requests
*
- * @see DatabaseFrontendInterface An interface for database frontends (front-end to the application)
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0
+ * @see DatabaseFrontendInterface - An interface for database frontends (front-end to the application)
+ * @author Roland Haeder <webmaster@mxchange.org>
+ * @version 0.3.0
* @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
* @license GNU GPL 3.0 or any newer version
+ * @link http://www.mxchange.org
*
* 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
*
* This class serializes objects and saves them to local files.
*
- *
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.1
+ * @author Roland Haeder <webmaster@mxchange.org>
+ * @version 0.3.0
* @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
* @license GNU GPL 3.0 or any newer version
+ * @link http://www.mxchange.org
*
* 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
/**
* A debug output class for the console (e.g. hub software)
*
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0
+ * @author Roland Haeder <webmaster@mxchange.org>
+ * @version 0.3.0
* @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
* @license GNU GPL 3.0 or any newer version
+ * @link http://www.mxchange.org
*
* 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
}
/**
- * Outputs the given data without HTML tags
+ * Assigns a variable for output
*
- * @param $output The HTML'ed output
+ * @param $var The variable we shall assign
+ * @param $value The value to store in the variable
* @return void
*/
- public final function output ($outStream=false) {
- // false will be silently ignored
- if ($outStream !== false) {
- $this->outputStream($outStream);
- }
+ public final function assignVariable ($var, $value) {
+ // Empty stub!
+ trigger_error(__METHOD__.": Stub!");
}
/**
- * Assigns a variable for output
+ * Output the code
*
- * @param $var The variable we shall assign
- * @param $value The value to store in the variable
* @return void
*/
- public final function assignVariable ($var, $value) {
- trigger_error(__METHOD__.": Stub!");
+ public final function output ($outStream=false) {
+ // Empty output will be silently ignored
+ if ($outStream !== false) {
+ $this->outputStream($outStream);
+ }
}
}
-//
+// [EOF]
?>
/**
* A debug output class for PHP's error_log() command
*
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0
+ * @author Roland Haeder <webmaster@mxchange.org>
+ * @version 0.3.0
* @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
* @license GNU GPL 3.0 or any newer version
+ * @link http://www.mxchange.org
*
* 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
* @return void
*/
public final function assignVariable ($var, $value) {
+ // Empty stub!
trigger_error(__METHOD__.": Stub!");
}
* @return void
*/
public final function output ($outStream=false) {
- // false will be silently ignored
+ // Empty output will be silently ignored
if ($outStream !== false) {
$this->outputStream($outStream);
}
}
}
-//
+// [EOF]
?>
/**
* A debug output class for the web browser
*
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0
+ * @author Roland Haeder <webmaster@mxchange.org>
+ * @version 0.3.0
* @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
* @license GNU GPL 3.0 or any newer version
+ * @link http://www.mxchange.org
*
* 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
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-class DebugWebOutput extends BaseFrameworkSystem implements Debugger {
+class DebugWebOutput extends BaseFrameworkSystem implements Debugger, OutputStreamer {
/**
* Private constructor
*
public final function outputStream ($output) {
trigger_error($output);
}
+
+ /**
+ * Assigns a variable for output
+ *
+ * @param $var The variable we shall assign
+ * @param $value The value to store in the variable
+ * @return void
+ */
+ public final function assignVariable ($var, $value) {
+ // Empty stub!
+ trigger_error(__METHOD__.": Stub!");
+ }
+
+ /**
+ * Output the code
+ *
+ * @return void
+ */
+ public final function output ($outStream=false) {
+ // Empty output will be silently ignored
+ if ($outStream !== false) {
+ $this->outputStream($outStream);
+ }
+ }
}
// [EOF]
* This object limits other objects. This is mostly being used to prepare
* objects to the datatabase connection or else a lot heap would be saved.
*
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0
+ * @author Roland Haeder <webmaster@mxchange.org>
+ * @version 0.3.0
* @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
* @license GNU GPL 3.0 or any newer version
+ * @link http://www.mxchange.org
*
* 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
/**
* Add a string directly to the limitation list
*
- * @param $str The string we want to add directly
+ * @param $str The string we want to add directly
* @return void
*/
private final function addString ($str) {
* This class contains object attributes which we can now send together to
* other classes
*
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0
+ * @author Roland Haeder <webmaster@mxchange.org>
+ * @version 0.3.0
* @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
* @license GNU GPL 3.0 or any newer version
+ * @link http://www.mxchange.org
*
* 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
/**
* An universal class for file input/output streams.
*
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0
+ * @author Roland Haeder <webmaster@mxchange.org>
+ * @version 0.3.0
* @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
* @license GNU GPL 3.0 or any newer version
+ * @link http://www.mxchange.org
*
* 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
/**
* A class for directory reading and getting its contents
*
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0
+ * @author Roland Haeder <webmaster@mxchange.org>
+ * @version 0.3.0
* @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
* @license GNU GPL 3.0 or any newer version
+ * @link http://www.mxchange.org
*
* 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
/**
* A class for reading files
*
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0
+ * @author Roland Haeder <webmaster@mxchange.org>
+ * @version 0.3.0
* @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
* @license GNU GPL 3.0 or any newer version
+ * @link http://www.mxchange.org
*
* 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
/**
* A class for writing files
*
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0
+ * @author Roland Haeder <webmaster@mxchange.org>
+ * @version 0.3.0
* @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
* @license GNU GPL 3.0 or any newer version
+ * @link http://www.mxchange.org
*
* 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
* The language sub-system for handling language strings being used in the
* application and whole framework
*
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0
+ * @author Roland Haeder <webmaster@mxchange.org>
+ * @version 0.3.0
* @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
* @license GNU GPL 3.0 or any newer version
+ * @link http://www.mxchange.org
*
* 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
<?php
/**
- * This class simply puts HTML code / JavaScript code or CSS code out to the
- * browser
+ * This class simply puts text without any HTML code out. This class is suiable
+ * for console output
*
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0
+ * @author Roland Haeder <webmaster@mxchange.org>
+ * @version 0.3.0
* @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
* @license GNU GPL 3.0 or any newer version
+ * @link http://www.mxchange.org
*
* 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
* This class simply puts HTML code / JavaScript code or CSS code out to the
* browser
*
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0
+ * @author Roland Haeder <webmaster@mxchange.org>
+ * @version 0.3.0
* @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
* @license GNU GPL 3.0 or any newer version
+ * @link http://www.mxchange.org
*
* 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
* The own template engine for loading caching and sending out the web pages
* and emails.
*
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0
+ * @author Roland Haeder <webmaster@mxchange.org>
+ * @version 0.3.0
* @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
* @license GNU GPL 3.0 or any newer version
+ * @link http://www.mxchange.org
*
* 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
*
* @param $basePath The local base path for all templates
* @param $langInstance An instance of LanguageSystem (default)
- * @param $ioInstance An instance of FileIOHandler (default, middleware!)
- * @return $tplInstance An instance of TemplateEngine
- * @throws BasePathIsEmptyException If the provided $basePath is empty
- * @throws InvalidBasePathStringException If $basePath is no string
- * @throws BasePathIsNoDirectoryException If $basePath is no
- * directory or not found
- * @throws BasePathReadProtectedException If $basePath is
- * read-protected
+ * @param $ioInstance An instance of FileIOHandler (default, middleware!)
+ * @return $tplInstance An instance of TemplateEngine
+ * @throws BasePathIsEmptyException If the provided $basePath is empty
+ * @throws InvalidBasePathStringException If $basePath is no string
+ * @throws BasePathIsNoDirectoryException If $basePath is no
+ * directory or not found
+ * @throws BasePathReadProtectedException If $basePath is
+ * read-protected
*/
- public final static function createTemplateEngine ($basePath, ManageableLanguage $langInstance, FileIOHandler $fileIOInstance) {
+ public final static function createTemplateEngine ($basePath, $langInstance, $ioInstance) {
// Get a new instance
$tplInstance = new TemplateEngine();
// Set the language and IO instances
$tplInstance->setLanguageInstance($langInstance);
- $tplInstance->setIOInstance($fileIOInstance);
+ $tplInstance->setIOInstance($ioInstance);
// Set template extensions
$tplInstance->setRawTemplateExtension($cfgInstance->readConfig("raw_template_extension"));
* Private setter for raw template data
*
* @param $rawTemplateData The raw data from the template
- * @return void
+ * @return void
*/
private final function setRawTemplateData ($rawTemplateData) {
// Cast it to string
/**
* An abstract middleware class for all other middlware classes
*
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0
+ * @author Roland Haeder <webmaster@mxchange.org>
+ * @version 0.3.0
* @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
* @license GNU GPL 3.0 or any newer version
- *
+ * @link http://www.mxchange.org
+ *
* 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
* the Free Software Foundation, either version 3 of the License, or
<?php
/**
- * Middleware for selecting the right compressor channel
+ * Middleware class for selecting the right compressor channel
*
- *
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0
+ * @author Roland Haeder <webmaster@mxchange.org>
+ * @version 0.3.0
* @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
* @license GNU GPL 3.0 or any newer version
+ * @link http://www.mxchange.org
*
* 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
/**
* Database selector class
*
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0
+ * @author Roland Haeder <webmaster@mxchange.org>
+ * @version 0.3.0
* @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
* @license GNU GPL 3.0 or any newer version
+ * @link http://www.mxchange.org
*
* 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
* become registered with this middleware because the back-fall class will
* become deprecated soon.
*
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0
+ * @author Roland Haeder <webmaster@mxchange.org>
+ * @version 0.3.0
* @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
* @license GNU GPL 3.0 or any newer version
+ * @link http://www.mxchange.org
*
* 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
* This is a file IO handler. It handles reading from and writing to files.
* Missing paths in writing process will be automatically created.
*
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0
+ * @author Roland Haeder <webmaster@mxchange.org>
+ * @version 0.3.0
* @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
* @license GNU GPL 3.0 or any newer version
+ * @link http://www.mxchange.org
*
* 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
<?php
/**
- * Base configuration, you should edit config-local.php (or create it) instead
- * of editing this configuration file.
+ * General configuration. Do not touch this file! If you need different settings
+ * create a config-local.php in this directory at and set your changed
+ * configuration entries there.
*
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0
+ * @author Roland Haeder <webmaster@mxchange.org>
+ * @version 0.3.0
* @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
* @license GNU GPL 3.0 or any newer version
+ * @link http://www.mxchange.org
*
* 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
* NOTE: We cannot put this in inc/classes/ because it would be loaded (again)
* in the class loader. See inc/loader/class_ClassLoader.php for instance
*
- * @see ClassLoader
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0
+ * @see ClassLoader
+ * @author Roland Haeder <webmaster@mxchange.org>
+ * @version 0.3.0
* @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
* @license GNU GPL 3.0 or any newer version
- *
+ * @link http://www.mxchange.org
+ *
* 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
* the Free Software Foundation, either version 3 of the License, or
/**
* Initializes the database layer
*
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0
+ * @author Roland Haeder <webmaster@mxchange.org>
+ * @version 0.3.0
* @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
* @license GNU GPL 3.0 or any newer version
+ * @link http://www.mxchange.org
*
* 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
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-// Initialize the layer
+// Initialize layer
$layer = null;
// Is the type defined?
/**
* Initializes the local file database class
*
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0
+ * @author Roland Haeder <webmaster@mxchange.org>
+ * @version 0.3.0
* @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
* @license GNU GPL 3.0 or any newer version
+ * @link http://www.mxchange.org
*
* 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
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
+// Zum Testen speichern wir in lokale Dateien (LocalFileDatabase)
try {
$layer = LocalFileDatabase::createLocalFileDatabase(PATH . "db/", FileIOHandler::getInstance());
} catch (SavePathIsEmptyException $e) {
* the initialization was successfull or not because only some class
* instances will we generated.
*
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0
+ * @author Roland Haeder <webmaster@mxchange.org>
+ * @version 0.3.0
* @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
* @license GNU GPL 3.0 or any newer version
+ * @link http://www.mxchange.org
*
* 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
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+
+// Get the instance
$io = FileIOHandler::createFileIOHandler();
// [EOF]
/**
* Loads more include files by using the generic class loader
*
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0
+ * @author Roland Haeder <webmaster@mxchange.org>
+ * @version 0.3.0
* @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
* @license GNU GPL 3.0 or any newer version
+ * @link http://www.mxchange.org
*
* 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
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-// Load the class loader first
-require(sprintf("%sinc/loader/class_ClassLoader%s",
- PATH,
- FrameworkConfiguration::getInstance()->readConfig("php_extension"))
-);
+// Include the class loader function
+require(sprintf("%sinc/loader/class_ClassLoader%s", PATH, FrameworkConfiguration::getInstance()->readConfig("php_extension")));
/**
* Is the devel package included?
<?php
/**
- * Initializes the language system
+ * Try to initializes the language system
*
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0
+ * @author Roland Haeder <webmaster@mxchange.org>
+ * @version 0.3.0
* @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
* @license GNU GPL 3.0 or any newer version
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-
-// Try it here...
try {
$lang = LanguageSystem::createLanguageSystem(sprintf("%s%s",
PATH,
/**
* This class loads class include files with a specific prefix and suffix
*
- * ----------------------------------
- * 1.1
- * - loadClasses rewritten to fix some notices
- * 1.0
- * - Initial release
- * ----------------------------------
- *
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 1.1
+ * @author Roland Haeder <webmaster@mxchange.org>
+ * @version 0.3.0
* @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
* @license GNU GPL 3.0 or any newer version
+ * @link http://www.mxchange.org
*
* 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
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ * ----------------------------------
+ * 1.1
+ * - loadClasses rewritten to fix some notices
+ * 1.0
+ * - Initial release
+ * ----------------------------------
*/
class ClassLoader {
/**
/**
* Initializes the output middleware layer
*
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0
+ * @author Roland Haeder <webmaster@mxchange.org>
+ * @version 0.3.0
* @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
* @license GNU GPL 3.0 or any newer version
+ * @link http://www.mxchange.org
*
* 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
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
-// Prepare debug outout middleware
+// Debug-Ausgabe vorbereiten
$debug = DebugMiddleware::createDebugMiddleware(FrameworkConfiguration::getInstance()->readConfig("debug_engine"));
// Leere Strings werden ignoriert und sollten zum Testen der Middleware genommen werden
/**
* The application selector main include file
*
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0
+ * @author Roland Haeder <webmaster@mxchange.org>
+ * @version 0.3.0
* @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
* @license GNU GPL 3.0 or any newer version
+ * @link http://www.mxchange.org
*
* 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
*
* But good little boys and girls would always initialize their variables... ;-)
*
- * @author Roland Haeder <webmaster@ship-simu.org>
- * @version 0.0
+ * @author Roland Haeder <webmaster@mxchange.org>
+ * @version 0.3.0
* @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software
* @license GNU GPL 3.0 or any newer version
+ * @link http://www.mxchange.org
*
* 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