+// {{{ class UFBF_HasEmailRedirect
+class UFBF_HasEmailRedirect extends UFBF_Enum
+{
+ public function __construct($envfield, $formtext = '')
+ {
+ parent::__construct($envfield, $formtext, array(1, 2));
+ }
+
+ protected function buildUFC(UserFilterBuilder $ufb)
+ {
+ if ($this->val == 1) {
+ return new UFC_HasEmailRedirect();
+ } else if ($this->val == 2) {
+ return new PFC_Not(new UFC_HasEmailRedirect());
+ }
+ }
+}
+// }}}
+