Commit 84d5845b authored by zYne's avatar zYne

fixes #554

parent e9a95274
...@@ -198,7 +198,7 @@ $user->login($username, $password); ...@@ -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: 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"> <code type="php">
class AuthTemplate extends Doctrine_Record class AuthTemplate extends Doctrine_Template
{ {
public function setTableDefinition() public function setTableDefinition()
{ {
......
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