src/MessageBoxField.php
public function FieldHolder($properties = array())
    {
        $content = $this->content;

        if ($content instanceof ViewableData) {
            if ($properties) {
                $content = $content->customise($properties);
            }

            $content = $content->forTemplate();
        }

        if($this->config()->allow_html === true) {
            return '<div class="'.$this->classes.'"" name="'.$this->getName().'">'.$content.'</div>';
        } else {
            return '<p class="'.$this->classes.'"" name="'.$this->getName().'">'.$content.'</p>';
        }
    }
public function FieldHolder($properties = array())
    {
        $content = $this->content;

        if ($content instanceof ViewableData) {
            if ($properties) {
                $content = $content->customise($properties);
            }

            $content = $content->forTemplate();
        }

        if($this->config()->allow_html === true) {
            return '<div class="'.$this->classes.'"" name="'.$this->getName().'">'.$content.'</div>';
        } else {
            return '<p class="'.$this->classes.'"" name="'.$this->getName().'">'.$content.'</p>';
        }
    }
public function FieldHolder ( $ properties = array ( ) ) { $ content = $ this -> content ; if ( $ content instanceof ViewableData ) { if ( $ properties ) { $ content = $ content -> customise ( $ properties ) ; } $ content = $ content -> forTemplate ( ) ; } if ( $ this -> config ( ) -> allow_html === true ) { return '<div class="' . $ this -> classes . '"" name="' . $ this -> getName ( ) . '">' . $ content . '</div>' ; } else { return '<p class="' . $ this -> classes . '"" name="' . $ this -> getName ( ) . '">' . $ content . '</p>' ; } }
adjusts the return to include the required classes.

@param array $properties

@return string
adjusts the return to include the required classes .