From 84d5845bd5fb4f00227dd614cd1c4bc5f067a896 Mon Sep 17 00:00:00 2001 From: zYne Date: Wed, 31 Oct 2007 21:18:14 +0000 Subject: [PATCH] fixes #554 --- manual/docs/en/class-templates.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manual/docs/en/class-templates.txt b/manual/docs/en/class-templates.txt index ceddaf2c7..43aabda6c 100644 --- a/manual/docs/en/class-templates.txt +++ b/manual/docs/en/class-templates.txt @@ -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: -class AuthTemplate extends Doctrine_Record +class AuthTemplate extends Doctrine_Template { public function setTableDefinition() {