Neato. I hadn't seen those spanking new function_exists wrappers.

On Wed, Mar 13, 2013 at 7:17 PM, AD7six <[email protected]> wrote:
>
>
> On Thursday, 14 March 2013 00:03:13 UTC+1, cricket wrote:
>>
>> No, because it's not a class method. You could create your own
>> function in bootstrap.php which then calls __(). What are you trying
>> to do?
>
>
> Actually yes, yes you can.
>
> Since 2.3.beta you can override all functions that are in basics.php,
> including __(), if you define them earlier than the basics.php file is
> loaded.
>
> In practical terms that means in/from:
>
> app/webroot/index.php
> app/webroot/test.php
> app/Console/cake.php
>
> http://bakery.cakephp.org/articles/lorenzo/2012/10/28/cakephp_2_3_0-beta_released
> https://github.com/cakephp/cakephp/commit/99b798fa9a49c876721a9b6d60178f9c7e991f0c
>
>  AD
>
> --
> 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 unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at http://groups.google.com/group/cake-php?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/cake-php?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to