scriptsTemplate() 공개 메소드

public scriptsTemplate ( )
예제 #1
0
 private function getMasterTemplate($appName, $fileName, $masterName)
 {
     $buildMaster = new MasterPageTemplates($appName);
     switch ($fileName) {
         case $masterName:
             return $buildMaster->masterTemplate();
             break;
         case 'css':
             return $buildMaster->cssTemplate();
             break;
         case 'nav':
             return $buildMaster->navTemplate();
             break;
         case 'scripts':
             return $buildMaster->scriptsTemplate();
             break;
         case 'bottom':
             return $buildMaster->bottomTemplate();
             break;
         case 'meta':
             return $buildMaster->metaTemplate();
             break;
         case 'shim':
             return $buildMaster->shimTemplate();
             break;
         default:
             return 'Filename not recongnized';
     }
 }