private function parse_name($name) {
        $bits = explode('/', $name);
        $name = array_pop($bits);
        $plugin = '';
        if ($bits) {
            $plugin = array_pop($bits);
            if ($plugin === 'moodle') {
                $plugin = '';
            }
        }
        return 's_'.$plugin.'_'.$name;
    }
private function parse_name($name) {
        $bits = explode('/', $name);
        $name = array_pop($bits);
        $plugin = '';
        if ($bits) {
            $plugin = array_pop($bits);
            if ($plugin === 'moodle') {
                $plugin = '';
            }
        }
        return 's_'.$plugin.'_'.$name;
    }
private function parse_name ( $ name ) { $ bits = explode ( '/' , $ name ) ; $ name = array_pop ( $ bits ) ; $ plugin = '' ; if ( $ bits ) { $ plugin = array_pop ( $ bits ) ; if ( $ plugin === 'moodle' ) { $ plugin = '' ; } } return 's_' . $ plugin . '_' . $ name ; }
Convert the setting name into the form field name.
@param string $name
@return string
Convert the setting name into the form field name .