This sounds like a behaviour to me... http://book.cakephp.org/view/1071/Behaviors
Jeremy Burns [email protected] On 29 Mar 2010, at 07:13, sooraj francis wrote: > hi, > > i need to Create a “REUSABLE” class file which accepts the input > parameters as (“data”,”type”,”parameter”) > > > > Data -> The data format to display. Can be an array. > > Type -> parameter type that decides whether it’s a listing page or > exporting page or soothing else. > > Parameter -> This decides how the data’s should get populated to the > page. For e.g. : if this is a listing page, then according to the > parameters only this will decide on whether the listing page includes > pagination or sorting or flagging etc .. > > > can any one plz suggest a better way of implementing this > > thanks > > Check out the new CakePHP Questions site http://cakeqs.org and help others > with their CakePHP related questions. > > 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] For more options, visit this group at > http://groups.google.com/group/cake-php?hl=en > > To unsubscribe from this group, send email to > cake-php+unsubscribegooglegroups.com or reply to this email with the words > "REMOVE ME" as the subject. Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. 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] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en To unsubscribe from this group, send email to cake-php+unsubscribegooglegroups.com or reply to this email with the words "REMOVE ME" as the subject.
