Wow! didn't know i could check that in debug bar! thank you vey much.

i see the following config in the dbug var:
Settings

---
app_captcha_activo: 1
app_captcha_longitud: 1
app_nxHelper_pager:
  first: laquo;
  prev: lt;
  next: gt;
  last: raquo
  sep: ---

but when i do sfConfig::get('app_nxHelper_pager_sep',' - ')
i get the default value,
the odd thing is that if i do sfConfig::get('app_captcha_longitud',' - ')
it works and return 1.

is there a depth limit in settings yml?
if I put only
sfConfig::get('app_nxHelper_pager',' - ')
it returns me
[array]

thank you again for the help

On 4/4/07, Loïc Vernet <[EMAIL PROTECTED]> wrote:
>
> is should not be lowercase ?  'app_myhelper_pager_first'
>
> check the debug bar
>
> ----- Message d'origine ----
> De : Oriol Mercadé <[EMAIL PROTECTED]>
> À : [email protected]
> Envoyé le : Mercredi, 4 Avril 2007, 11h27mn 29s
> Objet : [symfony-devs] sfconfig question
>
> Hello,
> i've made a custom helper stored in sfRoot/lib/helper/myHelper.php
>
> there, in a function i want to get a variable value stored in app.yml of
> the aplication wich is calling the helper
> i tried
> sfConfig::get('app_myHelper_pager_first','&laquo;')
> but it doesnt work,
> what route do i have to write on
> sfConfig::get('app_nxHelper_pager_first','&laquo;')
> to get the config value of sfRoot/apps/frontend/config/app.yml ?
>
> Thank you very much in advance!
>
>
>
> ------------------------------
> Découvrez une nouvelle façon d'obtenir des réponses à toutes vos questions
> ! Profitez des connaissances, des opinions et des expériences des
> internautes sur Yahoo! 
> Questions/Réponses<http://fr.rd.yahoo.com/evt=42054/*http://fr.answers.yahoo.com>
> .
> >
>


-- 
        - Oriol Mercadé Figueras

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-devs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to