Схема
protected mixed
validate (
)
Аргументы
| Аргумент |
Возможный тип |
Описание |
|
У метода нет аргументов
|
Описание
Метод пока еще не документирован.
Исходный код
if (!$this->user->hasPermission('modify', 'payment/pp_pro_iframe')) {
$this->error['warning'] = $this->language->get('error_permission');
}
if (!$this->request->post['pp_pro_iframe_sig']) {
$this->error['sig'] = $this->language->get('error_sig');
}
if (!$this->request->post['pp_pro_iframe_user']) {
$this->error['user'] = $this->language->get('error_user');
}
if (!$this->request->post['pp_pro_iframe_password']) {
$this->error['password'] = $this->language->get('error_password');
}
if (!$this->error) {
return true;
} else {
return false;
}