/** * Registers all CSS files that were preregistered by priority. */ protected function registerOrderedCssFiles() { $this->sort($this->css); foreach ($this->css as $path => $details) { if ($this->canOutput($details['output'])) { $this->clientScript->registerCssFile($path); } } }