Yes.
For access throughout the application, you can define constants in the config.php file or even in the index.php files.
config.php or in index.php
define('METADESCRIPTION', 'This is my site');
on your controllers or views.
Assing
$myVar = METADESCRIPTION;
or access
echo METADESCRIPTION;
source share