Lines Matching refs:this

9         $controller->register_hook('ACTION_ACT_PREPROCESS', 'BEFORE', $this, 'handleEvent');
10 $controller->register_hook('AJAX_CALL_UNKNOWN', 'BEFORE', $this, 'handleEvent');
11 $controller->register_hook('TPL_ACT_UNKNOWN', 'BEFORE', $this, 'handleEvent');
40 $this->sendMail();
42 $this->ajaxSuccess(); // To signal success to AJAX.
44 msg($this->getLang('thanks'), 1);
52 echo $this->getForm();
79 $form->addTextInput('s_name', $this->getLang('yourname'))->addClass('edit');
80 $form->addTextInput('s_email', $this->getLang('youremailaddress'))->addClass('edit');
84 $lists = explode('|', $this->getConf('default_recipient'));
91 $form->addDropdown('r_predef', $lists, $this->getLang('bookmarks'));
94 $form->addTextInput('r_email', $this->getLang('recipients'))->addClass('edit');
95 $form->addTextInput('subject', $this->getLang('subject'))->addClass('edit');
96 …$form->addTextarea('comment', $this->getLang('message'))->attr('rows', '8')->attr('cols', '10')->a…
105 $form->addButton('submit', $this->getLang('send_infomail'))->attr('type', 'submit');
106 $form->addButton('reset', $this->getLang('cancel_infomail'))->attr('type', 'reset');
152 if (!$all_recipients) throw new \Exception($this->getLang('novalid_rec'));
155 … $s_name = $INPUT->filter('trim')->str('s_name', $this->getConf('default_sender_displayname'));
156 if ($s_name === '') throw new \Exception($this->getLang('err_sendername'));
159 $s_email = $INPUT->filter('trim')->str('s_email', $this->getConf('default_sender'), true);
160 if (!mail_isvalid($s_email)) throw new \Exception($this->getLang('err_sendermail'));
167 if ($id === '' || !page_exists($id)) throw new \Exception($this->getLang('err_page'));
183 $subject = $this->getConf('subjectprefix') . ' ' . $INPUT->str('subject');
226 echo '<p>' . $this->getLang('thanks') . '</p>';
227 echo '<button type="reset" class="button">' . $this->getLang('close') . '</button>';