public function __construct($user = false) { I2CE_CachedForm::$spam = false; if (!$user instanceof I2CE_User) { $user = new I2CE_User(); } $this->user = $user; $this->factory = I2CE_FormFactory::instance(); $this->unique_fields = array(); }