KT_cmis_atom_service.inc.php
959 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<?php
include_once(KT_ATOM_LIB_FOLDER.'KT_atom_service.inc.php');
class KT_cmis_atom_service extends KT_atom_service {
// override and extend as needed
protected $serviceType = null;
protected $contentDownload = false;
public function setContentDownload($contentDownload)
{
$this->contentDownload = $contentDownload;
}
public public function isContentDownload()
{
return $this->contentDownload;
}
public function notModified()
{
return $this->status == self::STATUS_NOT_MODIFIED;
}
public function setoutput($output)
{
$this->output = $output;
}
public function getOutput()
{
return $this->output;
}
public function getServiceType()
{
return $this->serviceType;
}
public function setHeader($header = null, $value = null)
{
if ($header) header($header . ': ' . $value);
}
}
?>