public function getValue($type, $default = null)
    {
        $ret = $this->__call('getValue', array($type, $default));
        
        if (!isset($ret['value'])) {
            return $default;
        }

        return $ret['value'];
    }
public function getValue($type, $default = null)
    {
        $ret = $this->__call('getValue', array($type, $default));
        
        if (!isset($ret['value'])) {
            return $default;
        }

        return $ret['value'];
    }
public function getValue ( $ type , $ default = null ) { $ ret = $ this -> __call ( 'getValue' , array ( $ type , $ default ) ) ; if ( ! isset ( $ ret [ 'value' ] ) ) { return $ default ; } return $ ret [ 'value' ] ; }
Gets the value of the setting. If the notificaiton type has not been set
then NULL value is returned.

@param string $type    The type of the notification
@param mixed  $default The default value to return If the type is NULL

@return mixed The return value for the type.
Gets the value of the setting . If the notificaiton type has not been set then NULL value is returned .