git-svn-id: https://192.168.0.254/svn/Proyectos.Incam_SGD/tags/3.7.0.2_original@1 eb19766c-00d9-a042-a3a0-45cb8ec72764
48 lines
959 B
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);
|
|
}
|
|
|
|
}
|
|
?>
|