1
0
mirror of synced 2024-12-14 07:06:04 +03:00
This commit is contained in:
zYne 2007-06-08 19:27:38 +00:00
parent ad42d14e68
commit 7fc8eebf10

View File

@ -162,6 +162,10 @@ class Doctrine_Table extends Doctrine_Configurable implements Countable
* @var Doctrine_Relation_Parser $_parser relation parser object
*/
protected $_parser;
/**
* @var Doctrine_AuditLog $_auditLog
*/
protected $_auditLog;
/**
* the constructor
* @throws Doctrine_Connection_Exception if there are no opened connections
@ -1243,6 +1247,14 @@ class Doctrine_Table extends Doctrine_Configurable implements Countable
public function isTree() {
return ( ! is_null($this->options['treeImpl'])) ? true : false;
}
public function getAuditLog()
{
if ( ! isset($this->_auditLog)) {
$this->_auditLog = new Doctrine_AuditLog($this);
}
return $this->_auditLog;
}
/**
* returns a string representation of this object
*