Beispiel #1
0
 public function appendName($keyValue, $content, $modifiers = array())
 {
     if (!$this->_locked) {
         parent::appendName($keyValue, $content, $modifiers);
     }
     return $this;
 }
Beispiel #2
0
 public function testIndentationIsHonored()
 {
     $this->helper->setIndent(4);
     $this->helper->appendName('keywords', 'foo bar');
     $this->helper->appendName('seo', 'baz bat');
     $string = $this->helper->toString();
     $scripts = substr_count($string, '    <meta name=');
     $this->assertEquals(2, $scripts);
 }