I am having difficulty thinking of a time when I would need the same
function to be called in my model and my view. On my current project, I am
also needing to manipulate my dates as I have a non standard way of saving
them in the database. What I have done is manipulated them in the
controller using a Component so these functions can used in different
controllers. I get the data from the model, use the functions in
my component to manipulate the data and then pass that to the view, which
displays it as is.

Is that similar to what you are trying or am I misunderstanding your goals?

~Michael

-- 
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
Visit this group at http://groups.google.com/group/cake-php?hl=en.


Reply via email to