public function __toHtml($submitted = false, $blnSimpleLayout = false)
    {
        if (! $blnSimpleLayout) {
            // Call this right before __getMetaString();
            $this->setConditionalMeta();

            $strOutput = str_replace("[[metaString]]", $this->__getMetaString(), $this->__body);
        } else {
            $this->setMeta("class", "vf__multifielditem");
            $strOutput = "<div " . $this->__getMetaString() . "><span>{$this->__body}</span></div>\n";
        }

        return $strOutput;
    }
public function __toHtml($submitted = false, $blnSimpleLayout = false)
    {
        if (! $blnSimpleLayout) {
            // Call this right before __getMetaString();
            $this->setConditionalMeta();

            $strOutput = str_replace("[[metaString]]", $this->__getMetaString(), $this->__body);
        } else {
            $this->setMeta("class", "vf__multifielditem");
            $strOutput = "<div " . $this->__getMetaString() . "><span>{$this->__body}</span></div>\n";
        }

        return $strOutput;
    }
public function __toHtml ( $ submitted = false , $ blnSimpleLayout = false ) { if ( ! $ blnSimpleLayout ) { // Call this right before __getMetaString(); $ this -> setConditionalMeta ( ) ; $ strOutput = str_replace ( "[[metaString]]" , $ this -> __getMetaString ( ) , $ this -> __body ) ; } else { $ this -> setMeta ( "class" , "vf__multifielditem" ) ; $ strOutput = "<div " . $ this -> __getMetaString ( ) . "><span>{$this->__body}</span></div>\n" ; } return $ strOutput ; }
Render the string's HTML
@param boolean $submitted Force 'submitted' behavior
@param boolean $blnSimpleLayout Force simple layout
@return string The generated HTML output
Render the string s HTML