src/Codegen/CodegenBase.php
public function getInstalledTemplatePaths()
    {
        $dir = QCUBED_CONFIG_DIR . '/templates';

        $paths = [];

        if ($dir !== false) {    // does the active directory exist?
            foreach (scandir($dir) as $strFileName) {
                if (substr($strFileName, -8) == '.inc.php') {
                    $paths2 = include($dir . '/' . $strFileName);
                    if ($paths2 && is_array($paths2)) {
                        $paths = array_merge($paths, $paths2);
                    }
                }
            }
        }

        return $paths;
    }
public function getInstalledTemplatePaths()
    {
        $dir = QCUBED_CONFIG_DIR . '/templates';

        $paths = [];

        if ($dir !== false) {    // does the active directory exist?
            foreach (scandir($dir) as $strFileName) {
                if (substr($strFileName, -8) == '.inc.php') {
                    $paths2 = include($dir . '/' . $strFileName);
                    if ($paths2 && is_array($paths2)) {
                        $paths = array_merge($paths, $paths2);
                    }
                }
            }
        }

        return $paths;
    }
public function getInstalledTemplatePaths ( ) { $ dir = QCUBED_CONFIG_DIR . '/templates' ; $ paths = [ ] ; if ( $ dir !== false ) { // does the active directory exist? foreach ( scandir ( $ dir ) as $ strFileName ) { if ( substr ( $ strFileName , - 8 ) == '.inc.php' ) { $ paths2 = include ( $ dir . '/' . $ strFileName ) ; if ( $ paths2 && is_array ( $ paths2 ) ) { $ paths = array_merge ( $ paths , $ paths2 ) ; } } } } return $ paths ; }
Return an array of paths to template files. This base class versions searches a config directory for pointers
to template files to use. This allows qcubed repos to inject templates into the codegen process.

This process is similar to how the control registry works.
Return an array of paths to template files . This base class versions searches a config directory for pointers to template files to use . This allows qcubed repos to inject templates into the codegen process .