public function get_module_type_name($plural = false) {
        $modnames = get_module_types_names($plural);
        if (isset($modnames[$this->modname])) {
            return $modnames[$this->modname];
        } else {
            return null;
        }
    }
public function get_module_type_name($plural = false) {
        $modnames = get_module_types_names($plural);
        if (isset($modnames[$this->modname])) {
            return $modnames[$this->modname];
        } else {
            return null;
        }
    }
public function get_module_type_name ( $ plural = false ) { $ modnames = get_module_types_names ( $ plural ) ; if ( isset ( $ modnames [ $ this -> modname ] ) ) { return $ modnames [ $ this -> modname ] ; } else { return null ; } }
Returns a localised human-readable name of the module type

@param bool $plural return plural form
@return string
Returns a localised human - readable name of the module type