From 5dc0b6ab46ca3a142ef4c8f88863bb70371c22e4 Mon Sep 17 00:00:00 2001 From: jackbravo Date: Fri, 14 Dec 2007 02:00:40 +0000 Subject: [PATCH] Change the indentation --- manual/docs/en/component-overview.txt | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/manual/docs/en/component-overview.txt b/manual/docs/en/component-overview.txt index cd2f12883..a6998ebe9 100644 --- a/manual/docs/en/component-overview.txt +++ b/manual/docs/en/component-overview.txt @@ -194,9 +194,17 @@ $user->refresh(); The {{Doctrine_Record::refresh()}} method can also refresh record relationships, but you need to specify them on the query. -$user = Doctrine_Query::create()->from('User')->leftJoin('Groups')->where('id = ?')->fetchOne(array(1)); +$user = Doctrine_Query::create() + ->from('User') + ->leftJoin('Groups') + ->where('id = ?') + ->fetchOne(array(1)); -$group = Doctrine_Query::create()->from('Group')->leftJoin('Users')->where('id = ?')->fetchOne(array(1)); +$group = Doctrine_Query::create() + ->from('Group') + ->leftJoin('Users') + ->where('id = ?') + ->fetchOne(array(1)); $userGroup = new UserGroup(); $userGroup->user_id = $user->id;