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
842fee42
Commit
842fee42
authored
Apr 15, 2006
by
doctrine
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
One-Table-One-Class inheritance fix
parent
ff0aad6b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
Table.class.php
classes/Table.class.php
+3
-1
run.php
tests/run.php
+3
-3
No files found.
classes/Table.class.php
View file @
842fee42
...
...
@@ -143,9 +143,11 @@ class Doctrine_Table extends Doctrine_Configurable {
$record
->
setTableDefinition
();
if
(
isset
(
$this
->
columns
))
{
$method
=
new
ReflectionMethod
(
$name
,
"setTableDefinition"
);
$method
=
new
ReflectionMethod
(
$
this
->
name
,
"setTableDefinition"
);
$class
=
$method
->
getDeclaringClass
();
print
$class
->
getName
();
if
(
!
isset
(
$this
->
tableName
))
$this
->
tableName
=
strtolower
(
$class
->
getName
());
...
...
tests/run.php
View file @
842fee42
...
...
@@ -23,7 +23,7 @@ $test = new GroupTest("Doctrine Framework Unit Tests");
/**
$test
->
addTestCase
(
new
Doctrine_RecordTestCase
());
$test
->
addTestCase
(
new
Doctrine_SessionTestCase
());
...
...
@@ -36,10 +36,10 @@ $test->addTestCase(new Doctrine_AccessTestCase());
$test
->
addTestCase
(
new
Doctrine_ConfigurableTestCase
());
$test
->
addTestCase
(
new
Doctrine_EventListenerTestCase
());
*/
$test
->
addTestCase
(
new
Doctrine_DQL_ParserTestCase
());
//
$test->addTestCase(new Doctrine_BatchIteratorTestCase());
$test
->
addTestCase
(
new
Doctrine_BatchIteratorTestCase
());
//$test->addTestCase(new Doctrine_Cache_FileTestCase());
//$test->addTestCase(new Doctrine_Cache_SqliteTestCase());
...
...
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