diff --git a/manual/documentation.php b/manual/documentation.php
index e9209f146..bd08829ec 100644
--- a/manual/documentation.php
+++ b/manual/documentation.php
@@ -106,7 +106,6 @@ $menu = array("Getting started" =>
"Constraints and validators",
"Default values",
"Enum emulation",
-
),
"Record identifiers" => array(
@@ -116,7 +115,13 @@ $menu = array("Getting started" =>
"Composite",
"Sequential")
),
-
+ "Connection management" =>
+ array(
+ "Opening a new connection",
+ "Lazy-connecting to database",
+ "Managing connections",
+ "Connection-component binding"
+ ),
"Schema reference" =>
array(
"Data types" => array(
@@ -136,6 +141,36 @@ $menu = array("Getting started" =>
"Enum",
"Gzip",
),
+ "Column attributes" => array(
+ "Introduction",
+ "Primary",
+ "Autoincrement",
+ "Default",
+ "Zerofill",
+ "Collation",
+ "Charset",
+ "Unsigned",
+ "Fixed",
+ "Enum",
+ "Unique",
+ "Nospace",
+ "Notblank",
+ "Notnull",
+ "Email",
+ "Date",
+ "Range",
+ "Numeric",
+ "Regexp",
+ "Ip",
+ "Usstate",
+ ),
+
+ "Identifiers" => array(
+ "Introduction",
+ "Autoincremented",
+ "Natural",
+ "Composite",
+ "Sequential")
),
"Basic Components" =>
@@ -440,6 +475,21 @@ $menu = array("Getting started" =>
),
*/
+ "Connection modules" => array(
+ "Export" => array("Introduction",
+ "Creating new table",
+ "Altering table"
+ ),
+ "Import" => array("Introduction",
+ "Getting table info",
+ "Getting foreign key info",
+ "Getting view info",
+ ),
+ "Util" => array("Using explain"),
+ "DataDict" => array("Getting portable type",
+ "Getting database declaration",
+ "Reserved keywords"),
+ ),
"Technology" => array(
"Architecture",
"Design patterns used",
diff --git a/manual/export.php b/manual/export.php
new file mode 100644
index 000000000..d6cc083ad
--- /dev/null
+++ b/manual/export.php
@@ -0,0 +1,105 @@
+data['files'] = isset($_GET['files']) ? $_GET['files'] : null;
+ $this->data['path'] = isset($_GET['path']) ? $_GET['path'] : null;
+
+ foreach($this->data as $k => $v) {
+ $this->data[$k] = stripslashes($v);
+ }
+ }
+ public function __get($name) {
+ if(isset($this->data[$name]))
+ return $this->data[$name];
+
+ return null;
+ }
+}
+function renderError($string) {
+ print "
";
+}
+$request = new Request();
+?>
+
+
+
+Doctrine ORM Framework
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Doctrine Export
+
+
+
+
+ This script is used for exporting existing Doctrine record classes to database schema. Doctrine tries to create database tables
+
+ according to definitions given in the records.
+
+
+
+
+
+ path))
+ renderError('Directory \'' . $request->path . '\' does not exist');
+
+ foreach($files as $k => $file) {
+ $file = $request->path . $file;
+
+ if( ! file_exists($file)) {
+ renderError('File \'' . $file . '\' does not exist');
+
+ break;
+ }
+ $files[$k] = $file;
+ }
+
+ }
+ ?>
+
+
+
+
+
+
+
+
+
+
+
diff --git a/manual/styles/basic.css b/manual/styles/basic.css
index 7e1a63a74..09d560b1d 100644
--- a/manual/styles/basic.css
+++ b/manual/styles/basic.css
@@ -3,7 +3,9 @@ margin:10px auto 0px auto;
font-family: Verdana, Arial, Helvetica;
text-decoration: none;
}
-
+input.big {
+width: 400;
+}
hr {
color: A50A3D;
}
@@ -38,6 +40,15 @@ border-color: 116699;
border-shadow: none;
border-width: 1 px;
}
+table.error {
+border-style: dashed;
+border-color: red;
+border-shadow: none;
+border-width: 1 px;
+cellpadding: 0;
+cellspacing: 0;
+border-height: 1 px;
+}
b.title {
color: #A50A3D;
}
diff --git a/manual/styles/steel.css b/manual/styles/steel.css
index 87e9174f1..ad883fd95 100644
--- a/manual/styles/steel.css
+++ b/manual/styles/steel.css
@@ -5,6 +5,7 @@ text-decoration: none;
background: #393939;
color: #dfdfdf;
}
+
hr {
color: a3cb14;
}