src/Codegen/CodegenBase.php
public static function getSettingsXml()
    {
        $strCrLf = "\r\n";

        $strToReturn = sprintf('<codegen>%s', $strCrLf);
        $strToReturn .= sprintf('	<name application="%s"/>%s', Codegen::$ApplicationName, $strCrLf);
        $strToReturn .= sprintf('	<render preferredRenderMethod="%s"/>%s', Codegen::$PreferredRenderMethod,
            $strCrLf);
        $strToReturn .= sprintf('	<dataSources>%s', $strCrLf);
        foreach (Codegen::$CodeGenArray as $objCodeGen) {
            $strToReturn .= $strCrLf . $objCodeGen->getConfigXml();
        }
        $strToReturn .= sprintf('%s	</dataSources>%s', $strCrLf, $strCrLf);
        $strToReturn .= '</codegen>';

        return $strToReturn;
    }
public static function getSettingsXml()
    {
        $strCrLf = "\r\n";

        $strToReturn = sprintf('<codegen>%s', $strCrLf);
        $strToReturn .= sprintf('	<name application="%s"/>%s', Codegen::$ApplicationName, $strCrLf);
        $strToReturn .= sprintf('	<render preferredRenderMethod="%s"/>%s', Codegen::$PreferredRenderMethod,
            $strCrLf);
        $strToReturn .= sprintf('	<dataSources>%s', $strCrLf);
        foreach (Codegen::$CodeGenArray as $objCodeGen) {
            $strToReturn .= $strCrLf . $objCodeGen->getConfigXml();
        }
        $strToReturn .= sprintf('%s	</dataSources>%s', $strCrLf, $strCrLf);
        $strToReturn .= '</codegen>';

        return $strToReturn;
    }
public static function getSettingsXml ( ) { $ strCrLf = "\r\n" ; $ strToReturn = sprintf ( '<codegen>%s' , $ strCrLf ) ; $ strToReturn .= sprintf ( '	<name application="%s"/>%s' , Codegen :: $ ApplicationName , $ strCrLf ) ; $ strToReturn .= sprintf ( '	<render preferredRenderMethod="%s"/>%s' , Codegen :: $ PreferredRenderMethod , $ strCrLf ) ; $ strToReturn .= sprintf ( '	<dataSources>%s' , $ strCrLf ) ; foreach ( Codegen :: $ CodeGenArray as $ objCodeGen ) { $ strToReturn .= $ strCrLf . $ objCodeGen -> getConfigXml ( ) ; } $ strToReturn .= sprintf ( '%s	</dataSources>%s' , $ strCrLf , $ strCrLf ) ; $ strToReturn .= '</codegen>' ; return $ strToReturn ; }
Gets the settings in codegen_settings.xml file and returns its text without comments
@return string
Gets the settings in codegen_settings . xml file and returns its text without comments