4 include_once (
'./Services/Object/classes/class.ilObject2.php');
48 return array_key_exists($a_name, $this->map);
61 return $this->map[$a_name];
75 return $this->properties[$a_name];
89 $this->properties[$a_name] = $a_value;
109 case self::TYPE_STRING:
110 $value = (string)$a_data;
113 case self::TYPE_BOOL:
114 $value = (bool)$a_data;
118 $value = (int)$a_data;
121 case self::TYPE_DATE:
125 case self::TYPE_ARRAY:
128 $value = unserialize($a_data);
133 $value = $a_raw_data;
156 case self::TYPE_DATE:
163 case self::TYPE_ARRAY:
166 $value = serialize($value);
176 return array(
"parameters" => $value,
177 "raw_data" => $raw_data);
192 $set = $ilDB->query(
"SELECT * FROM il_verification".
193 " WHERE id = ".$ilDB->quote($this->id,
"integer"));
194 if($ilDB->numRows($set))
196 while(
$row = $ilDB->fetchAssoc($set))
229 $ilDB->manipulate(
"DELETE FROM il_verification".
230 " WHERE id = ".$ilDB->quote($this->id,
"integer"));
236 $fields = array(
"id" => array(
"integer", $this->
id),
237 "type" => array(
"text", $name),
238 "parameters" => array(
"text", $property[
"parameters"]),
239 "raw_data" => array(
"text", $property[
"raw_data"]));
241 $ilDB->insert(
"il_verification", $fields);
262 include_once
"Services/Verification/classes/class.ilVerificationStorageFile.php";
266 $ilDB->manipulate(
"DELETE FROM il_verification".
267 " WHERE id = ".$ilDB->quote($this->id,
"integer"));
275 include_once
"Services/Verification/classes/class.ilVerificationStorageFile.php";
279 $path = $storage->getAbsolutePath().
"/";
283 $path .= $a_subdir.
"/";