4 include_once(
'Services/WebServices/ECS/classes/class.ilRemoteObjectBase.php');
29 return self::DB_TABLE_NAME;
34 return "/campusconnect/files";
44 $this->version = (int)$a_version;
64 $this->version_tstamp = (int)$a_tstamp;
79 $a_fields[
"version"] =
array(
"integer", 1);
80 $a_fields[
"version_tstamp"] =
array(
"integer",
time());
113 $set = $ilDB->query(
"SELECT version, version_tstamp".
114 " FROM ".self::DB_TABLE_NAME.
115 " WHERE obj_id = ".$ilDB->quote($a_obj_id,
"integer"));
116 $row = $ilDB->fetchAssoc($set);
119 if(
$row[
"version_tstamp"])
setVersion($a_version)
Set version.
doCreateCustomFields(array &$a_fields)
doUpdateCustomFields(array &$a_fields)
static _lookupVersionInfo($a_obj_id)
Get version info.
getVersionDateTime()
get version timestamp
updateCustomFromECSContent(ilECSSetting $a_server, $a_ecs_content)
Remote object app base class.
Create styles array
The data for the language used.
doReadCustomFields($a_row)
Add data(end) time
Method that wraps PHPs time in order to allow simulations with the workflow.
setVersionDateTime($a_tstamp)
Set version timestamp.