Function ns_expand
Updates namespace identifier with version subdirectory, if any. The provided
namespace name is first processed by Core\ns_get_version()
; if the
returned value yields VM usage, the namespace identifier is suffixed by
"/vX", where "X" denotes the determined version number to use (w.r.t.
version limits defined for the namespace in question).
Parameters summary
string |
$ns |
Name of root namespace to expand version information for. |
Return value summary
string
|
The provided namespace identifier suffixed with the version subdirectory to use or the unmodified namespace name, if no VM is used. |