FeaturePhp/Model/ConfigurationRenderer.php
public function _render($textOnly) {
        $str = "";
        if ($textOnly)
            $str .= "\nModel Analysis\n==============\n";
        else
            $str .= "<h2>Model Analysis</h2>";
        $str .= $this->analyzeModel($this->configuration->getModel(), $textOnly);
        if ($textOnly)
            $str .= "\nConfiguration Analysis\n======================\n";
        else
            $str .= "</td><td valign='top'><h2>Configuration Analysis</h2>";
        $str .= $this->analyzeConfiguration($this->configuration, $textOnly);
        return $str;
    }
public function _render($textOnly) {
        $str = "";
        if ($textOnly)
            $str .= "\nModel Analysis\n==============\n";
        else
            $str .= "<h2>Model Analysis</h2>";
        $str .= $this->analyzeModel($this->configuration->getModel(), $textOnly);
        if ($textOnly)
            $str .= "\nConfiguration Analysis\n======================\n";
        else
            $str .= "</td><td valign='top'><h2>Configuration Analysis</h2>";
        $str .= $this->analyzeConfiguration($this->configuration, $textOnly);
        return $str;
    }
public function _render ( $ textOnly ) { $ str = "" ; if ( $ textOnly ) $ str .= "\nModel Analysis\n==============\n" ; else $ str .= "<h2>Model Analysis</h2>" ; $ str .= $ this -> analyzeModel ( $ this -> configuration -> getModel ( ) , $ textOnly ) ; if ( $ textOnly ) $ str .= "\nConfiguration Analysis\n======================\n" ; else $ str .= "</td><td valign='top'><h2>Configuration Analysis</h2>" ; $ str .= $ this -> analyzeConfiguration ( $ this -> configuration , $ textOnly ) ; return $ str ; }
Returns the model and configuration analysis.
@param bool $textOnly whether to render text or HTML
@return string
Returns the model and configuration analysis .