On Wed, Mar 26, 2008 at 3:15 PM, CodeHooligans <[EMAIL PROTECTED]> wrote:

>  As for the comment on the no business logic in the View I agree. But
>  then again I never actually stated what this function I'm including
>  does. It's not business logic. It's just code to help build the radio
>  buttons sets since each form (a Questionnaire) has 80+ questions. It's
>  similar to the built-in Cake function for building say an input field.
>  But for my case I need to wrap some HTML code around each question and
>  Yes/No radio button set. It's easier to place this into a function to
>  build the view output then manually for each of the questions.

Sounds to me like you should make a helper for yourself to contain
these kinds of functions...

-- 
-- 
(the old fart) the advice is free, the lack of crankiness will cost you

- its a fine line between a real question and an idiot

http://blog.samdevore.com/archives/2007/03/05/when-open-source-bugs-me/
http://blog.samdevore.com/cakephp-pages/my-cake-wont-bake/
http://blog.samdevore.com/cakephp-pages/i-cant-bake/

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to