On 12 Jul., 18:25, "Matthias N." <[EMAIL PROTECTED]>
wrote:
> * Separate filter chain into "request filters" and "module/action
> filters" and separate the execution of them
> --> This would make it much clearer what happens when
>- for example the rendering filter is on the first place
Ian,
Now that I think about it, this is even possible without the trick I told
you about. Simply terminate your rule with '.', it will mean that you want
to ignore the current suffix:
news_asset:
url: /news/asset/:news_id/:filename.
param: { module: news, action: viewasset }
requirements:
It's just a generic example on how to use the class.
As of now, you will have to create your own sfI18N class (extending the
base sfI18N class) and override the setMessageSource() method. But I'm
open to better ideas ;-)
Fabien
P.S.: I fixed the sfExecutionFilter typo, thanks.
Matthias N. wr
On 12 Jul., 18:59, Fabien POTENCIER <[EMAIL PROTECTED]
project.com> wrote:
> $sources = array();
>
> $sources[] = sfMessageSource::factory('XLIFF', ...);
> $sources[] = sfMessageSource::factory('SQlite', ...);
> ... add as many as you need
>
> $messageSource = sfMessageSource::factory('Aggregate',
$sources = array();
$sources[] = sfMessageSource::factory('XLIFF', ...);
$sources[] = sfMessageSource::factory('SQlite', ...);
... add as many as you need
$messageSource = sfMessageSource::factory('Aggregate', $sources);
The sfMessageSource_Aggregate message source will take the first message
Hi,
I have some ideas related to performance & more flexibility:
* Cache all existing actions once (as with autoload) to speedup
sfController->actionExists()
* Separate filter chain into "request filters" and "module/action
filters" and separate the execution of them
--> This would make it mu
Francois Zaninotto wrote:
> I committed a patch. Can you please test it and report if it works?
You're a very loverly man Francois ;)
Works perfectly, thanks!
--
Ian P. Christian ~ http://pookey.co.uk
signature.asc
Description: OpenPGP digital signature
I committed a patch. Can you please test it and report if it works?
-Message d'origine-
De : symfony-devs@googlegroups.com [mailto:[EMAIL PROTECTED] De
la part de Ian P. Christian
Envoyé : jeudi 12 juillet 2007 15:06
À : symfony-devs@googlegroups.com
Objet : [symfony-devs] Re: mod_rewrit
Francois Zaninotto wrote:
> Then it's a bug, and it is weird, because I thought there was a unit test on
> this case that passed.
>
> Can you update your ticket accordingly? I'll try to have a look at it.
>
> François
Thanks Francois, updated!
--
Ian P. Christian ~ http://pookey.co.uk
sig
Then it's a bug, and it is weird, because I thought there was a unit test on
this case that passed.
Can you update your ticket accordingly? I'll try to have a look at it.
François
-Message d'origine-
De : symfony-devs@googlegroups.com [mailto:[EMAIL PROTECTED] De
la part de Ian P. Chris
Francois Zaninotto wrote:
> Ian,
>
> Not sure if it answers your need, but with the routing branch, you can do
> this:
>
> url: /news/asset/:news_id/:filename.:format
>
> So can you explain me again why would you use wildcard extension?
Thanks for your post - for a moment, I thought it solved
Ian,
Not sure if it answers your need, but with the routing branch, you can do
this:
url: /news/asset/:news_id/:filename.:format
So can you explain me again why would you use wildcard extension?
François
-Message d'origine-
De : symfony-devs@googlegroups.com [mailto:[EMAIL PROTECTED]
Ticket created:
http://trac.symfony-project.com/trac/ticket/1971
--
Ian P. Christian ~ http://pookey.co.uk
signature.asc
Description: OpenPGP digital signature
13 matches
Mail list logo