pricealarm. */ class oeCaptchaPricealarm extends oeCaptchaPricealarm_parent { /** * Validates email * address. If email is wrong - returns false and exits. If email * address is OK - creates prcealarm object and saves it * (oxpricealarm::save()). Sends pricealarm notification mail * to shop owner. * * @return bool false on error */ public function addme() { //control captcha $captcha = oxNew('oeCaptcha'); if (!$captcha->passCaptcha(false)) { $this->_iPriceAlarmStatus = 2; return; } return parent::addme(); } }