Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
doctrine-dbal
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tomáš Trávníček
doctrine-dbal
Commits
b54d56a9
Commit
b54d56a9
authored
Aug 15, 2007
by
nicobn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Jaws_Schema is now abstract
parent
a062835e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
7 deletions
+16
-7
Schema.php
lib/Doctrine/Import/Schema.php
+14
-5
Xml.php
lib/Doctrine/Import/Schema/Xml.php
+2
-2
No files found.
lib/Doctrine/Import/Schema.php
View file @
b54d56a9
...
...
@@ -37,16 +37,25 @@
* @author Nicolas Bérard-Nault <nicobn@gmail.com>
* @author Jonathan H. Wage <jonwage@gmail.com>
*/
class
Doctrine_Import_Schema
abstract
class
Doctrine_Import_Schema
{
/**
* Import the schema and return it in an array
*
* @param string $schema
* @access public
*/
abstract
function
importSchema
(
$schema
);
/**
* import
*
* A method to import a Schema and translate it into a Doctrine_Record object
*
* @param string $schema The file containing the XML schema
* @param string $directory The directory where the Doctrine_Record classes will
* be written
* @param string $schema The file containing the XML schema
* @param string $directory The directory where the Doctrine_Record class will
* be written
* @access public
*/
public
function
imprt
(
$schema
,
$directory
)
{
...
...
@@ -61,5 +70,5 @@ class Doctrine_Import_Schema
$builder
->
buildRecord
(
$options
,
$columns
,
array
());
}
}
}
}
lib/Doctrine/Import/Schema/Xml.php
View file @
b54d56a9
...
...
@@ -40,7 +40,7 @@
class
Doctrine_Import_Schema_Xml
extends
Doctrine_Import_Schema
{
/**
* import
Arr
* import
Schema
*
* A method to import a XML Schema and translate it into a property array.
* The function returns that property array.
...
...
@@ -85,4 +85,4 @@ class Doctrine_Import_Schema_Xml extends Doctrine_Import_Schema
return
$tables
;
}
}
\ No newline at end of file
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment