Global Variables and Functions
Like the other framework, Seme Framework has several global Variables and Functions that you can use for your web app.
base_url()
This global function return full path url. Please make sure your $base_url
are set properly for each configurations.
base_url_admin()
This global function return full path url for admin secret url. Please make sure your $base_url_admin
are set properly for each configurations.
Controller::debug()
This global function will echo pre formatted text for debugging purpose.
dd()
Same as Controller::debug()
this global function will echo pre formatted text for debugging purpose.
$__forward
This global variable used by view for forwarding variable between view.