. */ /** * Doctrine_Record_Filter * Filters the record getters and setters * * @package Doctrine * @subpackage Record * @author Konsta Vesterinen * @license http://www.opensource.org/licenses/lgpl-license.php LGPL * @link www.phpdoctrine.org * @since 1.0 * @version $Revision: 1298 $ */ abstract class Doctrine_Record_Filter { protected $_table; public function setTable(Doctrine_Table $table) { $this->_table = $table; } public function getTable() { return $this->_table; } /** * filterSet * defines an implementation for filtering the set() method of Doctrine_Record * * @param mixed $name name of the property or related component */ abstract public function filterSet(Doctrine_Record $record, $name, $value); /** * filterGet * defines an implementation for filtering the get() method of Doctrine_Record * * @param mixed $name name of the property or related component */ abstract public function filterGet(Doctrine_Record $record, $name); }