[pLog-svn] r3197 - in plog/trunk: class/security locale

Oscar Renalias oscar at renalias.net
Thu Apr 6 16:57:51 GMT 2006


Yes, that's the only way. The only trick here is how to get a  
reference to a BlogInfo object, but once you're there, you can get  
the blog lcoale, the blog request generator, etc.

Oscar

On 6 Apr 2006, at 15:12, Jon Daley wrote:

> 	Is this true?  Is there an easier way to get a locale object?  (I  
> copied this code from commentfilter.class.php)
>
> On Thu, 6 Apr 2006, jondaley at devel.lifetype.net wrote:
>> +                    // need this to get the locale
>> +                $plr = $this->getPipelineRequest();
>> +                $bi = $plr->getBlogInfo();
>> +                $locale = $bi->getLocale();
>> +
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.lifetype.net
> http://devel.lifetype.net/mailman/listinfo/plog-svn
>



More information about the pLog-svn mailing list