getRootAlias() public static method
Returns the root alias part of a given alias.
A root alias is an alias that has been registered via setAlias() previously. If a given alias matches multiple root aliases, the longest one will be returned.
| public static string|boolean getRootAlias ( $alias ) | ||
|---|---|---|
| $alias | string |
The alias |
| return | string|boolean |
The root alias, or false if no root alias is found |
Please login to continue.