public function controlPassword() { $proxy = new SxModule_Members_Proxy(); if (!$proxy->checkPassword($this->getPassword(), $this->getEmail())) { $message = array('wrong' => "Wrong password."); $msg = Sanmax_MessageStack::getInstance('SxModule_Members'); $msg->addMessage('password', $message, 'settings'); return false; } return true; }