This commit is contained in:
parent
0833fc572d
commit
efb8fc9ed3
@ -61,15 +61,6 @@ class Doctrine_EventListener implements Doctrine_EventListener_Interface
|
|||||||
public function onPreSave(Doctrine_Record $record)
|
public function onPreSave(Doctrine_Record $record)
|
||||||
{ }
|
{ }
|
||||||
|
|
||||||
public function onGetProperty(Doctrine_Record $record, $property, $value)
|
|
||||||
{
|
|
||||||
return $value;
|
|
||||||
}
|
|
||||||
public function onSetProperty(Doctrine_Record $record, $property, $value)
|
|
||||||
{
|
|
||||||
return $value;
|
|
||||||
}
|
|
||||||
|
|
||||||
public function onInsert(Doctrine_Record $record)
|
public function onInsert(Doctrine_Record $record)
|
||||||
{ }
|
{ }
|
||||||
public function onPreInsert(Doctrine_Record $record)
|
public function onPreInsert(Doctrine_Record $record)
|
||||||
|
@ -1,13 +0,0 @@
|
|||||||
<?php
|
|
||||||
/**
|
|
||||||
* an emtpy listener all components use this by default
|
|
||||||
* @package Doctrine
|
|
||||||
* @category Object Relational Mapping
|
|
||||||
* @link www.phpdoctrine.com
|
|
||||||
* @license http://www.opensource.org/licenses/lgpl-license.php LGPL
|
|
||||||
* @since 1.0
|
|
||||||
* @version $Revision$
|
|
||||||
* @author Konsta Vesterinen <kvesteri@cc.hut.fi>
|
|
||||||
*/
|
|
||||||
class Doctrine_EventListener_Empty extends Doctrine_EventListener
|
|
||||||
{ }
|
|
@ -43,9 +43,6 @@ interface Doctrine_EventListener_Interface {
|
|||||||
public function onSave(Doctrine_Record $record);
|
public function onSave(Doctrine_Record $record);
|
||||||
public function onPreSave(Doctrine_Record $record);
|
public function onPreSave(Doctrine_Record $record);
|
||||||
|
|
||||||
public function onGetProperty(Doctrine_Record $record, $property, $value);
|
|
||||||
public function onSetProperty(Doctrine_Record $record, $property, $value);
|
|
||||||
|
|
||||||
public function onInsert(Doctrine_Record $record);
|
public function onInsert(Doctrine_Record $record);
|
||||||
public function onPreInsert(Doctrine_Record $record);
|
public function onPreInsert(Doctrine_Record $record);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user