public function __construct($res, $type = false, $item_type = false, $data_type = false) { $this->options = new JSONOptionsConnector($res, $type, $item_type, $data_type); $this->link = new DelayedConnector($res, $type, $item_type, $data_type); EventMaster::attach_static("connectorInit", array($this, "handle")); }
public function __construct($url) { $this->url = $url; $this->pdf(); EventMaster::attach_static("connectorInit", array($this, "handle")); }