From 866386189eabc2704bea2aaee3fd9200c9b66910 Mon Sep 17 00:00:00 2001 From: zYne Date: Tue, 18 Sep 2007 17:26:56 +0000 Subject: [PATCH] --- manual/new/docs/en/dql-doctrine-query-language.txt | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/manual/new/docs/en/dql-doctrine-query-language.txt b/manual/new/docs/en/dql-doctrine-query-language.txt index 5ca4afe4a..5b7af1703 100644 --- a/manual/new/docs/en/dql-doctrine-query-language.txt +++ b/manual/new/docs/en/dql-doctrine-query-language.txt @@ -36,11 +36,11 @@ $r->add('User/byName', 'FROM User u WHERE u.name = ?'); $user = new User(); -// fetch the user named Jack Daniels -$user = $user->fetchOne('byName', array('Jack Daniels')); +// find the user named Jack Daniels +$user = $user->findOne('byName', array('Jack Daniels')); -// fetch all users -$users = $user->fetch('all'); +// find all users +$users = $user->find('all'); ++ BNF