This repository has been archived on 2024-11-28. You can view files and clone it, but cannot push or open issues or pull requests.
Incam_SGD/webservice/classes/atompub/cmis/KT_cmis_atom_service.inc.php

48 lines
959 B
PHP

<?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);
}
}
?>