/** * Singleton method for asset class * * @static * @return Kohana_Asset */ public static function instance() { if (self::$_instance === NULL) { $config = Kohana::$config->load('asset')->as_array(); self::$_instance = new Asset($config); } return self::$_instance; }
public function __construct() { parent::__construct(); }
public function __construct($theme = FALSE) { // Load the config self::$_config = Kohana::$config->load("asset"); }