src/Tao/Templating/Helpers/TitleTag.php
public function add($sTitle, $bPrepend = false)
	{
		if ($bPrepend)
		{
			$this->aTitles = array_reverse($this->aTitles, true);
			$this->aTitles[$sTitle] = $sTitle;
			$this->aTitles = array_reverse($this->aTitles, true);
		}
		else {
			$this->aTitles[$sTitle] = $sTitle;
		}
	}
public function add($sTitle, $bPrepend = false)
	{
		if ($bPrepend)
		{
			$this->aTitles = array_reverse($this->aTitles, true);
			$this->aTitles[$sTitle] = $sTitle;
			$this->aTitles = array_reverse($this->aTitles, true);
		}
		else {
			$this->aTitles[$sTitle] = $sTitle;
		}
	}
public function add ( $ sTitle , $ bPrepend = false ) { if ( $ bPrepend ) { $ this -> aTitles = array_reverse ( $ this -> aTitles , true ) ; $ this -> aTitles [ $ sTitle ] = $ sTitle ; $ this -> aTitles = array_reverse ( $ this -> aTitles , true ) ; } else { $ this -> aTitles [ $ sTitle ] = $ sTitle ; } }
Add a title tag to the titles tag stack.

@param string $sTitle
@param boolean $bPrepend
Add a title tag to the titles tag stack .