" * @package taoResultServer */ class taoResultServer_models_classes_LoggerStorage extends tao_models_classes_GenerisService implements taoResultServer_models_classes_WritableResultStorage { /* * (non-PHPdoc) @see taoResultServer_models_classes_WritableResultStorage::storeRelatedTestTaker() */ public function storeRelatedTestTaker($deliveryResultIdentifier, $testTakerIdentifier) { common_logger::i("LoggerStorage - Test taker storage :" . $testTakerIdentifier . " into " . $deliveryResultIdentifier); } /* * (non-PHPdoc) @see taoResultServer_models_classes_WritableResultStorage::storeRelatedDelivery() */ public function storeRelatedDelivery($deliveryResultIdentifier, $deliveryIdentifier) { common_logger::i("LoggerStorage - Delivery storage:" . $deliveryResultIdentifier . " into " . $deliveryResultIdentifier); } /* * (non-PHPdoc) @see taoResultServer_models_classes_WritableResultStorage::storeItemVariable() */ public function storeItemVariable($deliveryResultIdentifier, $test, $item, taoResultServer_models_classes_Variable $itemVariable, $callIdItem) { common_logger::i("LoggerStorage - StoreItemVariable :" . $test . " item:" . $item . " callid:" . $callIdItem . "variable:" . serialize($itemVariable) . " into " . $deliveryResultIdentifier); } /* * (non-PHPdoc) @see taoResultServer_models_classes_WritableResultStorage::storeItemVariables() */ public function storeItemVariables($deliveryResultIdentifier, $test, $item, array $itemVariables, $callIdItem) { $varContents = array_map( function ($value) { return serialize($value); }, $itemVariables ); common_logger::i("LoggerStorage - StoreItemVariables :" . $test . " item:" . $item . " callid:" . $callIdItem . "variables:" . implode(' - ', $varContents) . " into " . $deliveryResultIdentifier); } /* * (non-PHPdoc) @see taoResultServer_models_classes_WritableResultStorage::storeTestVariable() */ public function storeTestVariable($deliveryResultIdentifier, $test, taoResultServer_models_classes_Variable $testVariable, $callIdTest) { common_logger::i("LoggerStorage - StoreTestVariable :" . $test . " callid:" . $callIdTest . "variable:" . serialize($testVariable) . " into " . $deliveryResultIdentifier); } public function storeTestVariables($deliveryResultIdentifier, $test, array $testVariables, $callIdTest) { $varContents = array_map( function ($value) { return serialize($value); }, $testVariables ); common_logger::i("LoggerStorage - StoreTestVariable :" . $test . " callid:" . $callIdTest . "variables:" . implode(' - ', $varContents) . " into " . $deliveryResultIdentifier); } /* * (non-PHPdoc) @see taoResultServer_models_classes_WritableResultStorage::configure() */ public function configure($callOptions = []) { common_logger::i("LoggerStorage - configuration:" . serialize($callOptions)); } /* * (non-PHPdoc) @see taoResultServer_models_classes_WritableResultStorage::spawnResult() */ public function spawnResult() { common_logger::i("LoggerStorage - Spawn request made"); } }