summaryrefslogtreecommitdiff
path: root/www/wiki/extensions/ConfirmEdit/includes/CaptchaValue.php
diff options
context:
space:
mode:
Diffstat (limited to 'www/wiki/extensions/ConfirmEdit/includes/CaptchaValue.php')
-rw-r--r--www/wiki/extensions/ConfirmEdit/includes/CaptchaValue.php24
1 files changed, 24 insertions, 0 deletions
diff --git a/www/wiki/extensions/ConfirmEdit/includes/CaptchaValue.php b/www/wiki/extensions/ConfirmEdit/includes/CaptchaValue.php
new file mode 100644
index 00000000..87302009
--- /dev/null
+++ b/www/wiki/extensions/ConfirmEdit/includes/CaptchaValue.php
@@ -0,0 +1,24 @@
+<?php
+
+/**
+ * Simple value object for storing a captcha question + answer.
+ */
+class CaptchaValue {
+ /**
+ * ID that is used to store the captcha in cache.
+ * @var string
+ */
+ protected $id;
+
+ /**
+ * Answer to the captcha.
+ * @var string
+ */
+ protected $solution;
+
+ /**
+ * @var mixed
+ */
+ protected $data;
+
+}