private function _getTemplateList()
    {
        $dirlist = CommonFunctions::gdc(PSI_APP_ROOT.'/templates/');
        sort($dirlist);
        foreach ($dirlist as $file) {
            $tpl_ext = substr($file, strlen($file) - 4);
            $tpl_name = substr($file, 0, strlen($file) - 4);
            if ($tpl_ext === ".css") {
                if (preg_match("/(\S+)_bootstrap$/", $tpl_name, $ar_buf)) {
                    array_push($this->_bootstrap_templates, $ar_buf[1]);
                } else {
                    array_push($this->_templates, $tpl_name);
                }
            }
        }
    }
private function _getTemplateList()
    {
        $dirlist = CommonFunctions::gdc(PSI_APP_ROOT.'/templates/');
        sort($dirlist);
        foreach ($dirlist as $file) {
            $tpl_ext = substr($file, strlen($file) - 4);
            $tpl_name = substr($file, 0, strlen($file) - 4);
            if ($tpl_ext === ".css") {
                if (preg_match("/(\S+)_bootstrap$/", $tpl_name, $ar_buf)) {
                    array_push($this->_bootstrap_templates, $ar_buf[1]);
                } else {
                    array_push($this->_templates, $tpl_name);
                }
            }
        }
    }
private function _getTemplateList ( ) { $ dirlist = CommonFunctions :: gdc ( PSI_APP_ROOT . '/templates/' ) ; sort ( $ dirlist ) ; foreach ( $ dirlist as $ file ) { $ tpl_ext = substr ( $ file , strlen ( $ file ) - 4 ) ; $ tpl_name = substr ( $ file , 0 , strlen ( $ file ) - 4 ) ; if ( $ tpl_ext === ".css" ) { if ( preg_match ( "/(\S+)_bootstrap$/" , $ tpl_name , $ ar_buf ) ) { array_push ( $ this -> _bootstrap_templates , $ ar_buf [ 1 ] ) ; } else { array_push ( $ this -> _templates , $ tpl_name ) ; } } } }
get all available tamplates and store them in internal array

@return void
get all available tamplates and store them in internal array