public function addHtml($html, $meta = array())
    {
        $objString = new StaticText($html, $meta);
        $objString->setMeta("parent", $this, true);
        $this->__fields->addObject($objString);

        return $objString;
    }
public function addHtml($html, $meta = array())
    {
        $objString = new StaticText($html, $meta);
        $objString->setMeta("parent", $this, true);
        $this->__fields->addObject($objString);

        return $objString;
    }
public function addHtml ( $ html , $ meta = array ( ) ) { $ objString = new StaticText ( $ html , $ meta ) ; $ objString -> setMeta ( "parent" , $ this , true ) ; $ this -> __fields -> addObject ( $ objString ) ; return $ objString ; }
Inject HTML in the navigation element

@param string $html The HTML string
@param array $meta Optional meta array
@return \ValidFormBuilder\StaticText
Inject HTML in the navigation element