Changeset View
Changeset View
Standalone View
Standalone View
lib/file_ui_api.php
Show First 20 Lines • Show All 52 Lines • ▼ Show 20 Lines | public function __construct($base_url) | ||||
$this->init(); | $this->init(); | ||||
} | } | ||||
/** | /** | ||||
* Initializes HTTP Request object. | * Initializes HTTP Request object. | ||||
*/ | */ | ||||
public function init() | public function init() | ||||
{ | { | ||||
require_once 'HTTP/Request2.php'; | |||||
$this->request = new HTTP_Request2(); | $this->request = new HTTP_Request2(); | ||||
self::configure($this->request); | self::configure($this->request); | ||||
} | } | ||||
/** | /** | ||||
* Configure HTTP_Request2 object | * Configure HTTP_Request2 object | ||||
* | * | ||||
* @param HTTP_Request2 $request Request object | * @param HTTP_Request2 $request Request object | ||||
▲ Show 20 Lines • Show All 220 Lines • Show Last 20 Lines |