File code/addon/ResourceSorter.php
class Lia\Addon\ResourceSorter
Constants
Properties
-
public $fqn = 'lia:server.resourcesorter';
-
protected $didSet=false;
-
protected $orders=['css'=>[], 'js'=>[]];
Methods
-
public function __construct($lia=null, $namenull)
-
public function setResourceOrder($ext,$names, $prepend=true)
Give an array of file names in the order they should be sent to the browser
-
public function getSortedFiles($unsortedFiles)