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
594e7932
Commit
594e7932
authored
Aug 07, 2006
by
doctrine
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
EmptyEventListener -> Doctrine_EventListener_Empty
parent
94975e7a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
5 deletions
+8
-5
EventListener.php
Doctrine/EventListener.php
+1
-4
Empty.php
Doctrine/EventListener/Empty.php
+6
-0
Manager.php
Doctrine/Manager.php
+1
-1
No files found.
Doctrine/EventListener.php
View file @
594e7932
...
...
@@ -62,9 +62,6 @@ abstract class Doctrine_EventListener implements Doctrine_EventListener_Interfac
public
function
onCollectionDelete
(
Doctrine_Collection
$collection
)
{
}
public
function
onPreCollectionDelete
(
Doctrine_Collection
$collection
)
{
}
}
/**
* an emtpy listener all components use this by default
*/
class
EmptyEventListener
extends
Doctrine_EventListener
{
}
?>
Doctrine/EventListener/Empty.php
0 → 100644
View file @
594e7932
<?php
/**
* an emtpy listener all components use this by default
*/
class
Doctrine_EventListener_Empty
extends
Doctrine_EventListener
{
}
?>
Doctrine/Manager.php
View file @
594e7932
...
...
@@ -86,7 +86,7 @@ class Doctrine_Manager extends Doctrine_Configurable implements Countable, Itera
Doctrine
::
ATTR_CACHE
=>
Doctrine
::
CACHE_NONE
,
Doctrine
::
ATTR_BATCH_SIZE
=>
5
,
Doctrine
::
ATTR_COLL_LIMIT
=>
5
,
Doctrine
::
ATTR_LISTENER
=>
new
EmptyEventListener
(),
Doctrine
::
ATTR_LISTENER
=>
new
Doctrine_EventListener_Empty
(),
Doctrine
::
ATTR_PK_COLUMNS
=>
array
(
"id"
),
Doctrine
::
ATTR_PK_TYPE
=>
Doctrine
::
INCREMENT_KEY
,
Doctrine
::
ATTR_LOCKMODE
=>
1
,
...
...
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