+
+ protected $cur = null; // The current user
+
+ /**
+ * For initializing members of the class. Set a the
+ * current user here.
+ *
+ * @param array $argarray misc. arguments
+ *
+ * @return boolean true
+ */
+ function prepare($argarray)
+ {
+ parent::prepare($argarray);
+
+ $this->cur = common_current_user();
+
+ return true;
+ }
+