Skip to content

Instantly share code, notes, and snippets.

@ClemensSahs
Created October 19, 2012 15:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ClemensSahs/3918836 to your computer and use it in GitHub Desktop.
Save ClemensSahs/3918836 to your computer and use it in GitHub Desktop.
Use Prefix or postfix (overwriteable)
<?php
$title = $this->headTitle();
if ( $title->getPrefix() === "" ) {
$title->setPrefix('projekt prefix');
}
echo $this->headTitle();
<?php
$this->headTitle('my view tilte')
->setPrefix('my prefix');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment