public function WardenAPI::__construct in Warden 6
Same name and namespace in other branches
- 7 warden_api.inc \WardenAPI::__construct()
Parameters
string $warden_url: The URL to the server.
string $username: (optional) The basic HTTP username of warden if set.
string $password: (optional) The basic HTTP password of warden if set.
File
- ./
warden_api.inc, line 38 - The API for communicating with the Warden server application.
Class
- WardenAPI
- @file The API for communicating with the Warden server application.
Code
public function __construct($warden_url, $username = '', $password = '') {
$this->wardenUrl = $warden_url;
$this->username = $username;
$this->password = $password;
}