1
0
mirror of synced 2025-01-06 00:57:10 +03:00
This commit is contained in:
zYne 2007-05-24 13:01:58 +00:00
parent e3e001efbc
commit 775e861f1e

View File

@ -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;
}
}