inc/classes/interfaces/streams/class_Streamable.php -text svneol=unset#text/plain
inc/classes/interfaces/streams/crypto/.htaccess -text svneol=unset#text/plain
inc/classes/interfaces/streams/crypto/class_EncryptableStream.php -text svneol=unset#text/plain
+inc/classes/interfaces/streams/input/.htaccess svneol=native#text/plain
+inc/classes/interfaces/streams/input/class_InputStreamable.php svneol=native#text/plain
+inc/classes/interfaces/streams/output/.htaccess svneol=native#text/plain
+inc/classes/interfaces/streams/output/class_OutputStreamable.php svneol=native#text/plain
inc/classes/interfaces/template/.htaccess -text svneol=unset#text/plain
inc/classes/interfaces/template/class_CompileableTemplate.php -text svneol=unset#text/plain
inc/classes/interfaces/template/view/class_ViewHelper.php -text svneol=unset#text/plain
inc/classes/main/streams/crypto/.htaccess -text svneol=unset#text/plain
inc/classes/main/streams/crypto/class_McryptStream.php -text svneol=unset#text/plain
inc/classes/main/streams/crypto/class_NullCryptoStream.php -text svneol=unset#text/plain
+inc/classes/main/streams/input/.htaccess svneol=native#text/plain
+inc/classes/main/streams/input/class_BaseInputStream.php svneol=native#text/plain
+inc/classes/main/streams/output/.htaccess svneol=native#text/plain
+inc/classes/main/streams/output/class_BaseOutputStream.php svneol=native#text/plain
inc/classes/main/template/.htaccess -text svneol=unset#text/plain
inc/classes/main/template/class_ -text svneol=unset#text/plain
inc/classes/main/template/class_BaseTemplateEngine.php -text svneol=unset#text/plain
--- /dev/null
+Deny from all
--- /dev/null
+<?php
+/**
+ * An InputStreamable interface
+ *
+ * @author Roland Haeder <webmaster@ship-simu.org>
+ * @version 0.0.0
+ * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2011 Core Developer Team
+ * @license GNU GPL 3.0 or any newer version
+ * @link http://www.ship-simu.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
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+interface InputStreamable extends Streamable {
+}
+
+// [EOF]
+?>
--- /dev/null
+Deny from all
--- /dev/null
+<?php
+/**
+ * An OutputStreamable interface
+ *
+ * @author Roland Haeder <webmaster@ship-simu.org>
+ * @version 0.0.0
+ * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2011 Core Developer Team
+ * @license GNU GPL 3.0 or any newer version
+ * @link http://www.ship-simu.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
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+interface OutputStreamable extends Streamable {
+}
+
+// [EOF]
+?>
* @return $consoleInstance An instance of this class
*/
public static final function getInstance() {
+ // Is the self-instance already set?
if (is_null(self::$consoleInstance)) {
$contentType = FrameworkConfiguration::getInstance()->getConfigEntry('web_content_type');
self::$consoleInstance = ConsoleOutput::createConsoleOutput($contentType);
- }
+ } // END - if
+
+ // Return the instance
return self::$consoleInstance;
}
* @return $debugInstance An instance of this middleware class
*/
public static final function createWebOutput (ManageableApplication $applicationInstance) {
- // Is there no instance?
+ // Is the self-instance already set?
if (is_null(self::$webInstance)) {
// Get a new instance and set it
self::$webInstance = new WebOutput();
<?php
/**
- * A
+ * A ???Stream class
*
* @author Roland Haeder <webmaster@ship-simu.org>
* @version 0.0.0
* @param $encrypted Encrypted string
* @return $str The unencrypted string
*/
- function decryptStream ($encrypted) {
+ public function decryptStream ($encrypted) {
// Just handle it over
$str = (string) $encrypted;
--- /dev/null
+Deny from all
--- /dev/null
+<?php
+/**
+ * A general InputStream class
+ *
+ * @author Roland Haeder <webmaster@ship-simu.org>
+ * @version 0.0.0
+ * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 Developer Team
+ * @license GNU GPL 3.0 or any newer version
+ * @link http://www.ship-simu.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
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * 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 BaseInputStream extends BaseStream {
+ /**
+ * Protected constructor
+ *
+ * @return void
+ */
+ protected function __construct () {
+ // Call parent constructor
+ parent::__construct(__CLASS__);
+ }
+}
+
+// [EOF]
+?>
--- /dev/null
+Deny from all
--- /dev/null
+<?php
+/**
+ * A general OutputStream class
+ *
+ * @author Roland Haeder <webmaster@ship-simu.org>
+ * @version 0.0.0
+ * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 Developer Team
+ * @license GNU GPL 3.0 or any newer version
+ * @link http://www.ship-simu.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
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * 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 BaseOutputStream extends BaseStream {
+ /**
+ * Protected constructor
+ *
+ * @return void
+ */
+ protected function __construct () {
+ // Call parent constructor
+ parent::__construct(__CLASS__);
+ }
+}
+
+// [EOF]
+?>