1
0
mirror of synced 2025-03-20 06:53:55 +03:00
This commit is contained in:
zYne 2007-10-31 21:18:14 +00:00
parent e9a9527453
commit 84d5845bd5

View File

@ -198,7 +198,7 @@ $user->login($username, $password);
You can get the record that invoked the delegate method by using the getInvoker() method of Doctrine_Template. Consider the AuthTemplate example. If we want to have access to the User object we just need to do the following:
<code type="php">
class AuthTemplate extends Doctrine_Record
class AuthTemplate extends Doctrine_Template
{
public function setTableDefinition()
{