コード例 #1
0
 /**
  * Register a core style.
  * @param  string $style The core style string to be registered. Eg:
  * 'dir/file.css'
  * @param  null|integer $priority The priority for the asset. Higher priority
  * styles will be outputted in the page first.
  * @param  OUTPUT_PRINT|OUTPUT_SCREEN|OUTPUT_AJAX|OUTPUT_ALL $output The output type.
  * @param boolean $preRegister Pre-register the asset (if set to false, priority will be ignored)
  *
  */
 public function registerCoreCssFile($style = '', $priority = null, $output = self::OUTPUT_ALL, $preRegister = true)
 {
     $this->registerCssFile($this->clientScript->getCoreScriptUrl() . '/' . $style, false, $priority, $output, $preRegister);
 }