The name of view directories are the same as the controller names, e.g.
if your controller is called posts_controller.php, the views directory
is views/posts.
You can use in a controller as many models as you want with var $uses =
array('Model1', 'Model2', 'Model3');
--
Daniel Hofstetter
http://cakebaker.wordpress.com
X-Google-Language: ENGLISH,ASCII-7-bit
Received: by 10.11.53.63 with SMTP id b63mr82622cwa;
Sat, 20 May 2006 06:42:17 -0700 (PDT)
X-Google-Token: mmtSeAwAAAC1GSQa43L6nikbHPzUAz88
Received: from 212.41.71.188 by j33g2000cwa.googlegroups.com with HTTP;
Sat, 20 May 2006 13:42:17 +0000 (UTC)
From: "Daniel Hofstetter" <[EMAIL PROTECTED]>
To: "Cake PHP" <[email protected]>
Subject: Re: Controllers Linked to model names?
Date: Sat, 20 May 2006 06:42:17 -0700
Message-ID: <[EMAIL PROTECTED]>
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>
User-Agent: G2/0.2
X-HTTP-UserAgent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.3)
Gecko/20060326 Firefox/1.5.0.3 (Debian-1.5.dfsg+1.5.0.3-2),gzip(gfe),gzip(gfe)
Mime-Version: 1.0
Content-Type: text/plain
The name of view directories are the same as the controller names, e.g.
if your controller is called posts_controller.php, the views directory
is views/posts.
You can use in a controller as many models as you want with var $uses =
array('Model1', 'Model2', 'Model3');
--
Daniel Hofstetter
http://cakebaker.wordpress.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---