Commit 775e861f authored by zYne's avatar zYne

--no commit message

--no commit message
parent e3e001ef
......@@ -1554,11 +1554,15 @@ abstract class Doctrine_Record extends Doctrine_Access implements Countable, Ite
public function deleteNode() {
$this->getNode()->delete();
}
public function toString()
{
return Doctrine::dump(get_object_vars($this));
}
/**
* returns a string representation of this object
*/
public function __toString()
{
return Doctrine_Lib::getRecordAsString($this);
return (string) $this->_oid;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment