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
4f361df6
Commit
4f361df6
authored
Nov 16, 2006
by
zYne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated doc block
parent
69a97d13
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
11 deletions
+8
-11
Builder.php
lib/Doctrine/Import/Builder.php
+8
-11
No files found.
lib/Doctrine/Import/Builder.php
View file @
4f361df6
...
...
@@ -20,14 +20,10 @@
*/
/**
* @package Doctrine
* @url http://www.phpdoctrine.com
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
* @author Jukka Hassinen <Jukka.Hassinen@BrainAlliance.com>
* @version $Id$
/**
* class Doctrine_Import_Builder
* Is responsible of building Doctrine structure based on a database schema.
* Doctrine_Import_Builder
* Import builder is responsible of building Doctrine ActiveRecord classes
* based on a database schema.
*
* @package Doctrine
* @category Object Relational Mapping
* @link www.phpdoctrine.com
...
...
@@ -35,6 +31,7 @@
* @since 1.0
* @version $Revision$
* @author Konsta Vesterinen <kvesteri@cc.hut.fi>
* @author Jukka Hassinen <Jukka.Hassinen@BrainAlliance.com>
*/
class
Doctrine_Import_Builder
{
...
...
@@ -113,13 +110,13 @@ class Doctrine_Import_Builder {
if
(
$column
[
'notnull'
])
{
$a
[]
=
'\'notnull\' => true'
;
}
if
(
$column
[
'primary'
])
{
if
(
$column
[
'primary'
])
{
$a
[]
=
'\'primary\' => true'
;
}
if
(
$column
[
'autoinc'
])
{
if
(
$column
[
'autoinc'
])
{
$a
[]
=
'\'autoincrement\' => true'
;
}
if
(
$column
[
'unique'
])
{
if
(
$column
[
'unique'
])
{
$a
[]
=
'\'unique\' => true'
;
}
...
...
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