public function __construct() { $db = new \DB\Jig('data/'); parent::__construct($db, 'config.json'); $this->load(); }
public function __construct(\DB\Jig $jig) { parent::__construct($jig, 'plugins.json'); $this->f3 = Base::instance(); }
public function __construct($file = null) { $db = Base::instance()->get($this->connection); parent::__construct($db, $file ?: $this->file); }
public function __construct() { $db = new \DB\Jig('tmp/'); parent::__construct($db, "iconset.{$_SESSION['tpl'][1]}.json"); $this->load(); }
/** * Load Site Configuration */ public function __construct() { $db = new \DB\Jig('framework/data/'); parent::__construct($db, 'site_config.json'); $this->load(); }
public function __construct(\DB\Jig $jig, $id) { parent::__construct($jig, 'games/' . $id . '.json'); }