lib/AbstractPicoPlugin.php
public function getPluginConfig($configName = null, $default = null)
    {
        $pluginConfig = $this->getConfig(get_called_class(), array());

        if ($configName === null) {
            return $pluginConfig;
        }

        return isset($pluginConfig[$configName]) ? $pluginConfig[$configName] : $default;
    }
public function getPluginConfig($configName = null, $default = null)
    {
        $pluginConfig = $this->getConfig(get_called_class(), array());

        if ($configName === null) {
            return $pluginConfig;
        }

        return isset($pluginConfig[$configName]) ? $pluginConfig[$configName] : $default;
    }
public function getPluginConfig ( $ configName = null , $ default = null ) { $ pluginConfig = $ this -> getConfig ( get_called_class ( ) , array ( ) ) ; if ( $ configName === null ) { return $ pluginConfig ; } return isset ( $ pluginConfig [ $ configName ] ) ? $ pluginConfig [ $ configName ] : $ default ; }
Returns either the value of the specified plugin config variable or
the config array

@param string $configName optional name of a config variable
@param mixed  $default    optional default value to return when the
named config variable doesn't exist

@return mixed if no name of a config variable has been supplied, the
plugin's config array is returned; otherwise it returns either the
value of the named config variable, or, if the named config variable
doesn't exist, the provided default value or NULL
Returns either the value of the specified plugin config variable or the config array