Get the ID and (optionally) a URL embedded in a StateID, in the form 'id:url'.
public static parseStateID ( string $stateId ) : array | ||
$stateId | string | The state ID to use. |
return | array | A hashed array with the ID and the URL (if any), in the 'id' and 'url' keys, respectively. If there's no URL in the input parameter, NULL will be returned as the value for the 'url' key. |