public function get_setting($name, $default = false) {
        try {
            return $this->controller->get_plan()->get_setting($name);
        } catch (Exception $e) {
            debugging('Failed to find the setting: '.$name, DEBUG_DEVELOPER);
            return $default;
        }
    }
public function get_setting($name, $default = false) {
        try {
            return $this->controller->get_plan()->get_setting($name);
        } catch (Exception $e) {
            debugging('Failed to find the setting: '.$name, DEBUG_DEVELOPER);
            return $default;
        }
    }
public function get_setting ( $ name , $ default = false ) { try { return $ this -> controller -> get_plan ( ) -> get_setting ( $ name ) ; } catch ( Exception $ e ) { debugging ( 'Failed to find the setting: ' . $ name , DEBUG_DEVELOPER ) ; return $ default ; } }
Gets the requested setting
@param string $name
@param bool $default
@return base_setting
Gets the requested setting