From e188f37e7953e3050704ebabdc05c6638720cee8 Mon Sep 17 00:00:00 2001 From: zYne Date: Fri, 29 Sep 2006 12:04:46 +0000 Subject: [PATCH] Export skeleton added --- lib/Doctrine.php | 19 +++++++++++++++++++ lib/Doctrine/Export.php | 31 +++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 lib/Doctrine/Export.php diff --git a/lib/Doctrine.php b/lib/Doctrine.php index 1dcb93fd9..42b66be50 100644 --- a/lib/Doctrine.php +++ b/lib/Doctrine.php @@ -311,6 +311,25 @@ final class Doctrine { } } /** + * import + * method for importing existing schema to Doctrine_Record classes + * + * @param string $directory + */ + public static function import($directory) { + + } + /** + * export + * method for exporting Doctrine_Record classes to a schema + * + * @param string $directory + */ + public static function export($directory) { + + } + /** + * compile * method for making a single file of most used doctrine runtime components * including the compiled file instead of multiple files (in worst * cases dozens of files) can improve performance by an order of magnitude diff --git a/lib/Doctrine/Export.php b/lib/Doctrine/Export.php new file mode 100644 index 000000000..b32bc78da --- /dev/null +++ b/lib/Doctrine/Export.php @@ -0,0 +1,31 @@ +. + */ + +/** + * Doctrine_Export + * + * @package Doctrine + * @author Konsta Vesterinen + * @license LGPL + */ +class Doctrine_Export { + public function export() { } +}