XOOPS 2.5.6  Final
 All Classes Namespaces Files Functions Variables Pages
readpmsg.php File Reference

Go to the source code of this file.

Namespaces

namespace  pm
 

Variables

 $_REQUEST ['op'] = !empty($_REQUEST['op']) && in_array($_REQUEST['op'], $valid_op_requests) ? $_REQUEST['op'] : 'in'
 
 $msg_id = empty($_REQUEST['msg_id']) ? 0 : intval($_REQUEST['msg_id'])
 
 $pm_handler =& xoops_getModuleHandler('message')
 
 $pmform = new XoopsForm('', 'pmform', 'readpmsg.php', 'post', true)
 
if(is_object($pm)&&($pm->
getVar('from_userid')!=$GLOBALS['xoopsUser']->
getVar('uid'))&&($pm->getVar('to_userid')!=$GLOBALS['xoopsUser']->
getVar('uid'))) if(is_object($pm)&&!empty($_POST['action'])) 
$start = !empty($_GET['start']) ? intval($_GET['start']) : 0
 
 $total_messages = !empty($_GET['total_messages']) ? intval($_GET['total_messages']) : 0
 
if(!is_object($GLOBALS['xoopsUser'])) $valid_op_requests = array('out', 'save', 'in')
 
 $xoopsOption ['template_main'] = "pm_readpmsg.html"
 
if($msg_id > 0) else
 
 if (!is_object($pm))
 

Variable Documentation

$_REQUEST['op'] = !empty($_REQUEST['op']) && in_array($_REQUEST['op'], $valid_op_requests) ? $_REQUEST['op'] : 'in'
$msg_id = empty($_REQUEST['msg_id']) ? 0 : intval($_REQUEST['msg_id'])

Definition at line 29 of file readpmsg.php.

$pm_handler =& xoops_getModuleHandler('message')

Definition at line 30 of file readpmsg.php.

$pmform = new XoopsForm('', 'pmform', 'readpmsg.php', 'post', true)

Definition at line 138 of file readpmsg.php.

if (is_object($pm)&&($pm->getVar('from_userid')!=$GLOBALS['xoopsUser']->getVar('uid'))&&($pm->getVar('to_userid')!=$GLOBALS['xoopsUser']->getVar('uid'))) if (is_object($pm)&&!empty($_POST['action'])) $start = !empty($_GET['start']) ? intval($_GET['start']) : 0

Definition at line 104 of file readpmsg.php.

$total_messages = !empty($_GET['total_messages']) ? intval($_GET['total_messages']) : 0

Definition at line 105 of file readpmsg.php.

if (!is_object($GLOBALS['xoopsUser'])) $valid_op_requests = array('out', 'save', 'in')

Definition at line 27 of file readpmsg.php.

$xoopsOption['template_main'] = "pm_readpmsg.html"

Definition at line 106 of file readpmsg.php.

if ($msg_id > 0) else
Initial value:
{
$pm = null

Definition at line 33 of file readpmsg.php.

if(!is_object($pm))

Definition at line 109 of file readpmsg.php.