class SubscribeForm extends Form
{
/**
- * Profile of user to nudge
+ * Profile of user to subscribe to
*/
var $profile = null;
* Constructor
*
* @param HTMLOutputter $out output channel
- * @param Profile $profile profile of user to nudge
+ * @param Profile $profile profile of user to subscribe to
*/
function __construct($out=null, $profile=null)
return 'subscribe-' . $this->profile->id;
}
+
+ /**
+ * class of the form
+ *
+ * @return string of the form class
+ */
+
+ function formClass()
+ {
+ return 'form_user_subscribe';
+ }
+
+
/**
* Action of the form
*
{
$this->out->submit('submit', _('Subscribe'));
}
-}
\ No newline at end of file
+}