captcha === null) { $this->captcha = oxNew('oeCaptcha'); } return $this->captcha; } public function createUser() { if (!$this->getCaptcha()->passCaptcha()) { return false; } return parent::createUser(); } }