Yes you are right, anything placed in the /lib folder will be
available in the Symfony path - so your set!

On Nov 20, 9:50 pm, Jan <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I'm pretty new to Symfony so please forgive me if my question is easy
> or I skipped something in the manual, book or else.
>
> At the moment I am working on a small system using Symfony where I
> have to access an external API for data that is used in the login
> system. Problem is, I won't get the specification of it until some
> days before the deadline, so I have to simulate its (expected)
> behaviour with a wrapper mockup class.
>
> I tought it would work this way:
> For dev I give the class's methods some data and it returns something
> that the real API probably would do. Later, when I finally get the
> specifications I remove all the hardcoded data and replace it with the
> API calls. Makes sense for me. Doesn't it?
>
> But here's the problem:
> I don't know where to place this class and its functions in the folder
> structure, in which file, what I have to do that it is accessible in
> my actions and other functions. Can you help me?
>
> Some more information about the system and the API:
> - small application where users do stuff with data they create
> - API is for checking  login data. User inputs username/password,
> system sends a request to the API and it responds with valid/invalid,
> user details, errors etc.
> - API response data is only valid for one session. Next login, I have
> to query the API again.
>
> Thanks,
> Jan
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to