Re: a controller+model that is accessible from all controllers / models is a ...

2006-12-13 Thread pigeon

thanks.

google groups says We're sorry, but we were unable to find the topic
you were looking for. Perhaps the URL you clicked on is out of date or
broken?


--~--~-~--~~~---~--~~
 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
-~--~~~~--~~--~--~---



Re: a controller+model that is accessible from all controllers / models is a ...

2006-12-13 Thread AD7six

The links are truncated, you can just copy the bit of text from the
next line and paste it on the end of the url.

Btw
1) bootstrap sound like what you are asking for (see the code related
to the wiki i18n article for an example, which is quite easy to adapt
to use a db - not referring to i18n2).
2) i18n has it's own implementation as part of 1.2 when it is released,
so if you wait a little you may find that what you want is part of cake
already.

HTH,

AD7six
Please note:
The manual/bakery is a good place to start any quest for info.
The cake search (at the time of writing) erroneously reports less/no
results for the google group.
The wiki may contain incorrect info - read at your own risk (it's
mainly user submitted) :) You may get your answer quicker by asking on
the IRC Channel (you can access it with just a browser
here:http://irc.cakephp.org).

On Dec 13, 1:28 pm, pigeon [EMAIL PROTECTED] wrote:
 thanks.

 google groups says We're sorry, but we were unable to find the topic
 you were looking for. Perhaps the URL you clicked on is out of date or
 broken?


--~--~-~--~~~---~--~~
 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
-~--~~~~--~~--~--~---



RE: a controller+model that is accessible from all controllers / models is a ...

2006-12-12 Thread Mariano Iglesias
Take a look at this post:

 

http://groups.google.com/group/cake-php/browse_thread/thread/b78b0abbb0d7213
6/ddc05cce0b688f52?lnk=gst
http://groups.google.com/group/cake-php/browse_thread/thread/b78b0abbb0d721
36/ddc05cce0b688f52?lnk=gstq=rnum=20 q=rnum=20

 

-MI

 

---

 

Remember, smart coders answer ten questions for every question they ask. 

So be smart, be cool, and share your knowledge. 

 

BAKE ON!

 

 

-Mensaje original-
De: cake-php@googlegroups.com [mailto:[EMAIL PROTECTED] En nombre
de pigeon
Enviado el: MiƩrcoles, 13 de Diciembre de 2006 12:25 a.m.
Para: Cake PHP
Asunto: a controller+model that is accessible from all controllers / models
is a ...

 

 

plugin ? component ? vendor library ?

 

In particular, i'd like to add a language api to my cake app. I need

methods like translate($alias, $langcode) to be accessible from

_anywhere_ in the application.

 

Where do I start?

All suggestions are greatly appreciated.



--~--~-~--~~~---~--~~
 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
-~--~~~~--~~--~--~---