On 10/15/07, bingo <[EMAIL PROTECTED]> wrote:
>
>
> Hi,
>
> I have some generic data processing that most of the models need. So I
> wrote a class that extends Object. However, I didn't understand to
> make available throughout my application. This is how my class is
> define
- Why not in the AppModel class?
Class ExtendedSetOperations extends Object{
> public getCount($data, $path)
> ....
> }
> }
>
> What I am trying to is call this class from my model in the same way
> as I call Set::extract
>
> I considered the object of Using vendor library but I don't want to
> get that route as then I have to load it everything a model needs
> these functions.
>
> Regards,
> Ritesh
>
>
> >
>
--
Regards,
Amit
http://amitrb.wordpress.com/
http://cheesecake-photoblog.org/
http://www.sanisoft.com/blog/author/amitbadkas
--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---