A CMS package for FuelPHP.
The methods that Bromine provides for the API to be used on the front-end of the site.
Prepends the site’s name and anything added.
Returns the the title as a string.
<head>
<title><?php echo Bromine\Title::get(); ?></title>
</head>
Appends the string to the end of the title, using :
as a separator.
$title = $article->title;
Bromine\Title::append($title, ' · ');
Overwrites the existing title, but includes the site title unless $title_overwrite
is set to true.
$title = $article->title;
Bromine\Title::set($title);
// Site Name: The leaves are falling
$title = 'Article: '.$article->title;
Bromine\Title::set($title, true);
// Article: The leaves are falling