You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 23, 2021. It is now read-only.
is_active will return true or false based on if the inputted URI is contained in the current URI. The inputted URI does not need to be full. For example /api/func/ will match /api/func/1. This function is useful when needing to call class="active" on elements of HTML.
These functions will split up the URI and output them in a readable format for you. For exmaple, CI URLs are typically made in a way such as /controller/function/param1/param2/. These functions will split these up for you so that for example, all you want is the current paramenters, you would not need to parse the entire URL by yourself.
get_parameter($part)
part is an integer and will return the specific parameter asked for.