1
0
mirror of synced 2025-01-18 06:21:40 +03:00
This commit is contained in:
zYne 2007-11-28 00:01:03 +00:00
parent a5f755f4ea
commit b6924e0f0d

View File

@ -37,6 +37,16 @@ abstract class Doctrine_Record_Abstract extends Doctrine_Access
*/
protected $_table;
public function setTableDefinition()
{
}
public function setUp()
{
}
/**
* getTable
* returns the associated table object
@ -284,6 +294,14 @@ abstract class Doctrine_Record_Abstract extends Doctrine_Access
return $this;
}
public function loadPlugin(Doctrine_Plugin $plugin)
{
$plugin->initialize($this->_table);
$this->_table->addPlugin($plugin, get_class($plugin));
}
/**
* actAs
* loads the given plugin