This commit is contained in:
parent
a5f755f4ea
commit
b6924e0f0d
@ -36,7 +36,17 @@ abstract class Doctrine_Record_Abstract extends Doctrine_Access
|
|||||||
* @param Doctrine_Table $_table reference to associated Doctrine_Table instance
|
* @param Doctrine_Table $_table reference to associated Doctrine_Table instance
|
||||||
*/
|
*/
|
||||||
protected $_table;
|
protected $_table;
|
||||||
|
|
||||||
|
public function setTableDefinition()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
public function setUp()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* getTable
|
* getTable
|
||||||
* returns the associated table object
|
* returns the associated table object
|
||||||
@ -284,6 +294,14 @@ abstract class Doctrine_Record_Abstract extends Doctrine_Access
|
|||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function loadPlugin(Doctrine_Plugin $plugin)
|
||||||
|
{
|
||||||
|
$plugin->initialize($this->_table);
|
||||||
|
|
||||||
|
$this->_table->addPlugin($plugin, get_class($plugin));
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* actAs
|
* actAs
|
||||||
* loads the given plugin
|
* loads the given plugin
|
||||||
|
Loading…
x
Reference in New Issue
Block a user