Constructor
KTWSAPI
KTWSAPI
([
string $wsdl =
KTWebService_WSDL], [
int $timeout =
30])
-
string
$wsdl
-
int
$timeout
Sets an active session.
string
active_session
(string $session, [string $ip = null])
-
string
$session
-
string
$ip
Returns a reference to a document based on id.
This returns the default location where documents are downloaded in download() and checkout().
string
get_download_path
()
Returns a reference to a folder based on id.
Returns a reference to the root folder.
Closes an active session.
true
logout
()
Allows the default location for downloaded documents to be changed.
true
set_download_path
(string $download_path)
Starts an anonymous session.
string
start_anonymous_session
([string $ip = null])
Starts a user session.
string
start_session
(string $username, string $password, [string $ip = null])
-
string
$username
-
string
$password
-
string
$ip