Maybe a way to do this is to add a new get_param_id('param', 'content_type') (similar to get_param_string('param') except it auto-validates the given information and returns the resource ID (or if Commandr is not installed, it just returns the parameter value).
And then add another function for returning a URL-based ID (such as in build_url) which would either be a moniker, GUID, or resource ID depending on what we request in the function (and if Commandr is available).
We will need to come up with a more robust solution for v12 which does not rely on Resource-fs.
And then add another function for returning a URL-based ID (such as in build_url) which would either be a moniker, GUID, or resource ID depending on what we request in the function (and if Commandr is available).
We will need to come up with a more robust solution for v12 which does not rely on Resource-fs.