Coverage for Doctrine_EventListener

Back to coverage report

1 <?php
2 /*
3  *  $Id: EventListener.php 2758 2007-10-07 22:43:33Z zYne $
4  *
5  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
6  * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
7  * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
8  * A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
9  * OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
10  * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
11  * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
12  * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
13  * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
14  * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
15  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
16  *
17  * This software consists of voluntary contributions made by many individuals
18  * and is licensed under the LGPL. For more information, see
19  * <http://www.phpdoctrine.org>.
20  */
21 Doctrine::autoload('Doctrine_EventListener_Interface');
22 /**
23  * Doctrine_EventListener     all event listeners extend this base class
24  *                            the empty methods allow child classes to only implement the methods they need to implement
25  *
26  *
27  * @author      Konsta Vesterinen <kvesteri@cc.hut.fi>
28  * @package     Doctrine
29  * @subpackage  EventListener
30  * @license     http://www.opensource.org/licenses/lgpl-license.php LGPL
31  * @link        www.phpdoctrine.org
32  * @since       1.0
33  * @version     $Revision: 2758 $
34  */
35 class Doctrine_EventListener implements Doctrine_EventListener_Interface
36 {
37     public function preClose(Doctrine_Event $event)
38     { }
39     public function postClose(Doctrine_Event $event)
40     { }
41
42     public function onCollectionDelete(Doctrine_Collection $collection)
43     { }
44     public function onPreCollectionDelete(Doctrine_Collection $collection)
45     { }
46
47     public function onOpen(Doctrine_Connection $connection)
48     { }
49
50     public function preTransactionCommit(Doctrine_Event $event)
51     { }
52     public function postTransactionCommit(Doctrine_Event $event)
53     { }
54
55     public function preTransactionRollback(Doctrine_Event $event)
56     { }
57     public function postTransactionRollback(Doctrine_Event $event)
58     { }
59
60     public function preTransactionBegin(Doctrine_Event $event)
61     { }
62     public function postTransactionBegin(Doctrine_Event $event)
63     { }
64
65
66     public function preSavepointCommit(Doctrine_Event $event)
67     { }
68     public function postSavepointCommit(Doctrine_Event $event)
69     { }
70
71     public function preSavepointRollback(Doctrine_Event $event)
72     { }
73     public function postSavepointRollback(Doctrine_Event $event)
74     { }
75
76     public function preSavepointCreate(Doctrine_Event $event)
77     { }
78     public function postSavepointCreate(Doctrine_Event $event)
79     { }
80
81     public function postConnect(Doctrine_Event $event)
82     { }
83     public function preConnect(Doctrine_Event $event)
84     { }
85
86     public function preQuery(Doctrine_Event $event)
87     { }
88     public function postQuery(Doctrine_Event $event)
89     { }
90
91     public function prePrepare(Doctrine_Event $event)
92     { }
93     public function postPrepare(Doctrine_Event $event)
94     { }
95
96     public function preExec(Doctrine_Event $event)
97     { }
98     public function postExec(Doctrine_Event $event)
99     { }
100
101     public function preError(Doctrine_Event $event)
102     { }
103     public function postError(Doctrine_Event $event)
104     { }
105
106     public function preFetch(Doctrine_Event $event)
107     { }
108     public function postFetch(Doctrine_Event $event)
109     { }
110
111     public function preFetchAll(Doctrine_Event $event)
112     { }
113     public function postFetchAll(Doctrine_Event $event)
114     { }
115
116     public function preStmtExecute(Doctrine_Event $event)
117     { }
118     public function postStmtExecute(Doctrine_Event $event)
119     { }
120 }