Code formatting for ViewHelper & tests
This commit is contained in:
@ -11,9 +11,9 @@
|
||||
|
||||
class TitleViewHelper extends ViewHelper
|
||||
{
|
||||
|
||||
|
||||
protected $separator = ' - ';
|
||||
|
||||
|
||||
public function title($string = false)
|
||||
{
|
||||
if ($string) {
|
||||
@ -23,12 +23,12 @@ class TitleViewHelper extends ViewHelper
|
||||
}
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
||||
public function setSeparator($sep)
|
||||
{
|
||||
$this->separator = $sep;
|
||||
}
|
||||
|
||||
|
||||
public function __toString()
|
||||
{
|
||||
return implode($this->separator, Registry::get(__CLASS__, array()));
|
||||
|
Reference in New Issue
Block a user