예제 #1
0
 public function GetHeadStrings($location = AssetLocation::AFTER_JS_KERNEL)
 {
     $location = Asset::getLocationByName($location);
     if ($location === AssetLocation::AFTER_JS_KERNEL) {
         $res = $this->oAsset->getJs(1);
     } else {
         $res = $this->oAsset->getStrings($location);
     }
     return $res == '' ? '' : $res . "\n";
 }