git-svn-id: https://192.168.0.254/svn/Proyectos.Incam_SGD/tags/3.7.0.2_original@1 eb19766c-00d9-a042-a3a0-45cb8ec72764
36 lines
929 B
PHP
36 lines
929 B
PHP
<?php
|
|
|
|
include_once(KT_ATOM_LIB_FOLDER.'KT_atom_response.inc.php');
|
|
|
|
class KT_cmis_atom_response extends KT_atom_response {
|
|
|
|
static protected $workspace = null;
|
|
|
|
public function __construct($baseURI = null)
|
|
{
|
|
parent::__construct();
|
|
|
|
// require the workspace for creating links within responses
|
|
$queryArray = split('/', trim($_SERVER['QUERY_STRING'], '/'));
|
|
$this->workspace = strtolower(trim($queryArray[0]));
|
|
}
|
|
|
|
function getWorkspace()
|
|
{
|
|
return $this->workspace;
|
|
}
|
|
|
|
// TODO try to get rid of this function
|
|
function appendChild($element)
|
|
{
|
|
$this->feed->appendChild($element);
|
|
}
|
|
|
|
}
|
|
|
|
class KT_cmis_atom_Response_GET extends KT_cmis_atom_response{}
|
|
class KT_cmis_atom_Response_PUT extends KT_cmis_atom_response{}
|
|
class KT_cmis_atom_Response_POST extends KT_cmis_atom_response{}
|
|
class KT_cmis_atom_Response_DELETE extends KT_cmis_atom_response{}
|
|
|
|
?>
|