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
6e4c2468
Commit
6e4c2468
authored
Jul 17, 2009
by
piccoloprincipe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[2.0] added load() method
parent
52d55da3
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
13 deletions
+8
-13
AssociationMapping.php
lib/Doctrine/ORM/Mapping/AssociationMapping.php
+1
-1
ManyToManyMapping.php
lib/Doctrine/ORM/Mapping/ManyToManyMapping.php
+3
-3
OneToManyMapping.php
lib/Doctrine/ORM/Mapping/OneToManyMapping.php
+4
-9
No files found.
lib/Doctrine/ORM/Mapping/AssociationMapping.php
View file @
6e4c2468
...
@@ -386,5 +386,5 @@ abstract class AssociationMapping
...
@@ -386,5 +386,5 @@ abstract class AssociationMapping
* @param object $targetEntity
* @param object $targetEntity
* @param EntityManager $em
* @param EntityManager $em
*/
*/
public
function
load
(
$owningEntity
,
$targetEntity
,
$em
)
{}
abstract
public
function
load
(
$owningEntity
,
$targetEntity
,
$em
);
}
}
lib/Doctrine/ORM/Mapping/ManyToManyMapping.php
View file @
6e4c2468
...
@@ -138,9 +138,9 @@ class ManyToManyMapping extends AssociationMapping
...
@@ -138,9 +138,9 @@ class ManyToManyMapping extends AssociationMapping
return
$this
->
targetKeyColumns
;
return
$this
->
targetKeyColumns
;
}
}
public
function
l
azyLoadFor
(
$entity
,
$entityManager
)
public
function
l
oad
(
$owningEntity
,
$targetEntity
,
$em
)
{
{
//TODO
throw
new
Exception
(
'Not yet implemented.'
);
}
}
/**
/**
...
...
lib/Doctrine/ORM/Mapping/OneToManyMapping.php
View file @
6e4c2468
...
@@ -97,13 +97,8 @@ class OneToManyMapping extends AssociationMapping
...
@@ -97,13 +97,8 @@ class OneToManyMapping extends AssociationMapping
return
true
;
return
true
;
}
}
/**
public
function
load
(
$owningEntity
,
$targetEntity
,
$em
)
*
* @param <type> $entity
* @override
*/
public
function
lazyLoadFor
(
$entity
,
$entityManager
)
{
{
throw
new
Exception
(
'Not yet implemented.'
);
}
}
}
}
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