Hi,

How to access shop config parameters from Smarty template?

I noticed many functions in *oxviewconfig.php* like:

     /**
     * Returns facebook application key value
     *
     * @return string
     */
    public function getFbAppId()
    {
        return $this->getConfig()->getConfigParam( 'sFbAppId' );
    }

What is the reason not to have smth like this?:

    public function getConfigParam( *$sParamName* )
    {
        return $this->getConfig()->getConfigParam( *$sParamName* );
    }

Thank You for advice.

[email protected]
_______________________________________________
dev-general mailing list
[email protected]
http://dir.gmane.org/gmane.comp.php.oxid.general

Reply via email to