e107_plugins/pm/pm.php
Avoid too many return
statements within this method. Open
Open
return $msg . $this->add($_POST);
Avoid too many return
statements within this method. Open
Open
return LAN_PM_21;
Avoid too many return
statements within this method. Open
Open
return LAN_PM_18 . $to_info['user_name'];
Avoid too many return
statements within this method. Open
Open
return LAN_PM_19;
Variable $PM_OUTBOX_HEADER
is undeclared Open
Open
$PM_OUTBOX['start'] = $this->updateTemplate($PM_OUTBOX_HEADER);
- Exclude checks
Variable $tp
is undeclared Open
Open
$pmSource = $tp->toDB($_POST['pm_come_from']);
- Exclude checks
Method \pm_extended::__construct
is declared to return \none
but has no return value Open
Open
public function __construct($prefs, $manager)
- Exclude checks
Variable $PM_OUTBOX_EMPTY
is undeclared Open
Open
$PM_OUTBOX['empty'] = $this->updateTemplate($PM_OUTBOX_EMPTY);
- Exclude checks
Argument 2 (pluginName)
is true
but \e107::getScBatch()
takes string
defined at /code/e107_handlers/e107_class.php:1608
Open
Open
$sc = e107::getScBatch('pm', true, 'pm');
- Exclude checks
Variable $PM_INBOX_HEADER
is undeclared Open
Open
$PM_INBOX['start'] = $this->updateTemplate($PM_INBOX_HEADER);
- Exclude checks
Variable $PM_OUTBOX_FOOTER
is undeclared Open
Open
$PM_OUTBOX['end'] = $this->updateTemplate($PM_OUTBOX_FOOTER);
- Exclude checks
Variable $tp
is undeclared Open
Open
$pmSource = $tp->toDB($qs[2]);
- Exclude checks
Argument 2 (pluginName)
is true
but \e107::getScBatch()
takes string
defined at /code/e107_handlers/e107_class.php:1608
Open
Open
$sc = e107::getScBatch('pm', true, 'pm');
- Exclude checks
Variable $PM_INBOX_EMPTY
is undeclared Open
Open
$PM_INBOX['empty'] = $this->updateTemplate($PM_INBOX_EMPTY);
- Exclude checks
Variable $PM_BLOCKED_TABLE
is undeclared Open
Open
$PM_BLOCKED['item'] = $this->updateTemplate($PM_BLOCKED_TABLE);
- Exclude checks
Variable $ns
is undeclared Open
Open
$ns->tablerender(LAN_PM, LAN_PM_12);
- Exclude checks
Return type of __construct()
is undeclared type \none
Open
Open
public function __construct($prefs, $manager)
- Exclude checks
Variable $sql
is undeclared Open
Open
$delList = $sql->db_getList();
- Exclude checks
Variable $PM_INBOX_FOOTER
is undeclared Open
Open
$PM_INBOX['end'] = $this->updateTemplate($PM_INBOX_FOOTER);
- Exclude checks
Argument 2 (pluginName)
is true
but \e107::getScBatch()
takes string
defined at /code/e107_handlers/e107_class.php:1608
Open
Open
$sc = e107::getScBatch('pm', true, 'pm');
- Exclude checks
Variable $retrieve_prefs
was undeclared, but array fields are being added to it. Open
Open
$retrieve_prefs[] = 'pm_prefs';
- Exclude checks
Argument 2 (pluginName)
is true
but \e107::getScBatch()
takes string
defined at /code/e107_handlers/e107_class.php:1608
Open
Open
$sc = e107::getScBatch('pm', true, 'pm');
- Exclude checks
Variable $ns
is undeclared Open
Open
$ns->tablerender(LAN_PM, $pm->breadcrumb(LAN_PLUGIN_PM_NEW) . $mes->render() . $pm->show_send($pm_proc_id));
- Exclude checks
Variable $ns
is undeclared Open
Open
$ns->tablerender(LAN_PM, $pm->breadcrumb(LAN_PM_55) . $mes->render() . $pm->show_send($pm_info));
- Exclude checks
Variable $tp
is undeclared Open
Open
define('PM_DELETE_ICON', $tp->toGlyph('fa-trash', 'fw=1'));
- Exclude checks
Variable $PM_BLOCKED_HEADER
is undeclared Open
Open
$PM_BLOCKED['start'] = $this->updateTemplate($PM_BLOCKED_HEADER);
- Exclude checks
Variable $PM_BLOCKED_EMPTY
is undeclared Open
Open
$PM_BLOCKED['empty'] = $this->updateTemplate($PM_BLOCKED_EMPTY);
- Exclude checks
Variable $u
was undeclared, but array fields are being added to it. Open
Open
$u[] = "{\"caption\":\"" . $row['user_name'] . "\",\"value\":" . $row['user_id'] . "}";
- Exclude checks
Variable $ns
is undeclared Open
Open
$ns->tablerender(LAN_PM, $pm->breadcrumb(LAN_PM_55) . $mes->render() . LAN_PM_57);
- Exclude checks
Variable $ns
is undeclared Open
Open
$ns->tablerender($caption, $pm->breadcrumb(LAN_PLUGIN_PM_OUTBOX) . $mes->render() . $pm->show_outbox($pm_proc_id), 'PM');
- Exclude checks
Variable $tp
is undeclared Open
Open
define('ATTACHMENT_ICON', $tp->toGlyph('fa-paperclip'));
- Exclude checks
Argument 2 (filenum)
is int
but \pm_extended::send_file()
takes string
defined at /code/e107_plugins/pm/pm_class.php:805
Open
Open
$pm->send_file($pm_proc_id, intval($qs[2]));
- Exclude checks
Variable $ns
is undeclared Open
Open
$ns->tablerender($caption, $pm->breadcrumb(LAN_PLUGIN_PM_INBOX) . $mes->render() . $pm->show_inbox($pm_proc_id), 'PM');
- Exclude checks
Argument 2 (pluginName)
is true
but \e107::getScBatch()
takes string
defined at /code/e107_handlers/e107_class.php:1608
Open
Open
$sc = e107::getScBatch('pm', true, 'pm');
- Exclude checks
Returning type null
but show_pm()
is declared to return string
Open
Open
return null;
- Exclude checks
Variable $ns
is undeclared Open
Open
$ns->tablerender(LAN_PM, $pm->breadcrumb(LAN_PM_55) . $mes->render() . LAN_PM_56);
- Exclude checks
Variable $tp
is undeclared Open
Open
$action = $tp->filter($_GET['mode']);
- Exclude checks
Variable $PM_OUTBOX_TABLE
is undeclared Open
Open
$PM_OUTBOX['item'] = $this->updateTemplate($PM_OUTBOX_TABLE);
- Exclude checks
Variable $PM_BLOCKED_FOOTER
is undeclared Open
Open
$PM_BLOCKED['end'] = $this->updateTemplate($PM_BLOCKED_FOOTER);
- Exclude checks
Variable $PM_SEND_PM
is undeclared Open
Open
$PM_SEND_PM = $this->updateTemplate($PM_SEND_PM);
- Exclude checks
Variable $PM_INBOX_TABLE
is undeclared Open
Open
$PM_INBOX['item'] = $this->updateTemplate($PM_INBOX_TABLE);
- Exclude checks
Variable $sql
is undeclared Open
Open
if($sql->select('private_msg', 'pm_id', $qry))
- Exclude checks
Variable $ns
is undeclared Open
Open
$ns->tablerender($caption, $pm->breadcrumb('blocked') . $mes->render() . $pm->showBlocked($pm_proc_id), 'PM');
- Exclude checks