This commit is contained in:
parent
ad42d14e68
commit
7fc8eebf10
@ -162,6 +162,10 @@ class Doctrine_Table extends Doctrine_Configurable implements Countable
|
|||||||
* @var Doctrine_Relation_Parser $_parser relation parser object
|
* @var Doctrine_Relation_Parser $_parser relation parser object
|
||||||
*/
|
*/
|
||||||
protected $_parser;
|
protected $_parser;
|
||||||
|
/**
|
||||||
|
* @var Doctrine_AuditLog $_auditLog
|
||||||
|
*/
|
||||||
|
protected $_auditLog;
|
||||||
/**
|
/**
|
||||||
* the constructor
|
* the constructor
|
||||||
* @throws Doctrine_Connection_Exception if there are no opened connections
|
* @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() {
|
public function isTree() {
|
||||||
return ( ! is_null($this->options['treeImpl'])) ? true : false;
|
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
|
* returns a string representation of this object
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user