tag for
include or require files. PHP doesn't require it, and it can cause these
exact types of 'headers already sent' errors.
For the purists who feel that all open tags should be closed, the
alternative solution is to recursively (and periodically) so a regex
grep for closing tags w
Nate wrote:
> On Jun 20, 10:24 am, Ian Zepp <[EMAIL PROTECTED]> wrote:
>> Unlike Zend (with uses an Action suffix to designate controller
>> actions), Cake doesn't have any such thing and instead uses a blacklist
>> of 'private' controller actions (de
Nate wrote:
> On Jun 21, 9:54 am, Ian Zepp <[EMAIL PROTECTED]> wrote:
>> I do agree, on principle, that non-actions should be written as
>> protected or private methods. I'm was just pointing out the convention
>> differences (from Zend) and potential pitfa
Marcin Domanski aka kabturek wrote:
> hey
>
> On Jun 20, 4:24 pm, Ian Zepp <[EMAIL PROTECTED]> wrote:
>> Unlike Zend (with uses an Action suffix to designate controller
>> actions), Cake doesn't have any such thing and instead uses a blacklist
>> of '
As a general rule, cake needs to know the DB table layouts in order to
perform queries. As you've seen, unbinding the model associations
prevents Cake from joining the tables at query time.
RE the describe, however, I wouldn't worry about it for two reasons:
(a) DESCRIBE is essentially a no-co
You are going to have to provide more context than that, sorry.
AbhinavZone wrote:
> hi.
>
> I am working on website in cakephp. everything is going fine.
> but I got stuck with an issue.
>
>
> 1. Client requirement is to rewrite all pages as
> http://websitename.com/xx/yy.html
>
> 2. Add bac
What you want is a route that defines a single-part URL as defaulting to
the users controller:
Router::connect('/:action', array( 'controller' => 'users' ));
And it needs to be at the top of the routes file, because the Router
scans from the top down.
HOWEVER, you can't do this:
Router::conn
to be maintainable over a period of
time a utility class passed to the view and used in the controller is
the (IMHO) best way to go.
++
Beatport DIGITAL DOWNLOAD NETWORK™
Ian Zepp - Software Engineer, RHCE, ZCE, CMDEV
www.beatport.com - Access the world of club music™
-Original Message-
hanks
zaidi
++
Beatport DIGITAL DOWNLOAD NETWORK™
Ian Zepp - Software Engineer, RHCE, ZCE, CMDEV
www.beatport.com - Access the world of club music™
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Grou
h array_merge
>
> HTH
> Tarique
>
> --
> =
> Cheesecake-Photoblog:http://cheesecake-photoblog.org
> PHP for E-Biz:http://sanisoft.com
> =
++
Beat
plugin directories.
Whether you want to do that or not is a philosophical issue, though.
Best, Ian Zepp.
-Original Message-
From: Drew <[EMAIL PROTECTED]>
Reply-To: cake-php@googlegroups.com
To: CakePHP
Subject: Re: Sub directories within Cake
Date: Fri, 20 Jun 2008 06:23:46 -0700 (PDT
Pass an object to view that has the methods you need.
Ketan Patel wrote:
> I am baffled right now with a simple question. I want some specific
> functions to be available in the controllers as well as the views.
> What's the best way to do this? I don't want to duplicate same code in
> components
12 matches
Mail list logo