XOOPS 2.5.6  Final
 All Classes Namespaces Files Functions Variables Pages
viewpmsg.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'
 
 $delete_button = new XoopsFormButton('', 'delete_messages', _PM_DELETE, 'submit')
 
 $empty_button = new XoopsFormButton('', 'empty_messages', _PM_EMPTY, 'submit')
 
 $move_button = new XoopsFormButton('', 'move_messages', ($_REQUEST['op'] == 'save') ? _PM_UNSAVE : _PM_TOSAVE, 'submit')
 
 $pm_arr = $pm_handler->getAll($criteria, null, false, false)
 
 $pm_handler =& xoops_getModuleHandler('message')
 
 $pmform = new XoopsForm('', 'pmform', 'viewpmsg.php', 'post', true)
 
 $send_button = new XoopsFormButton('', 'send', _PM_SEND)
 
 $start = empty($_REQUEST["start"]) ? 0 : intval($_REQUEST["start"])
 
 $total_messages = $pm_handler->getCount($criteria)
 
 $valid_op_requests = array('out', 'save', 'in')
 
if(!is_object($GLOBALS['xoopsUser'])) $xoopsConfig ['module_cache'] = 0
 
 $xoopsOption ['template_main'] = "pm_viewpmsg.html"
 
if(isset($_POST['delete_messages'])&&isset($_POST['msg_id']))
if(isset($_POST['move_messages'])&&isset($_POST['msg_id']))
if(isset($_REQUEST['empty_messages']))
if($_REQUEST['op']=="out")
else if($_REQUEST['op']=="save") 
else
 
 if (count($pm_arr)>0)
 

Variable Documentation

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

Definition at line 32 of file viewpmsg.php.

$delete_button = new XoopsFormButton('', 'delete_messages', _PM_DELETE, 'submit')

Definition at line 219 of file viewpmsg.php.

$empty_button = new XoopsFormButton('', 'empty_messages', _PM_EMPTY, 'submit')

Definition at line 221 of file viewpmsg.php.

$move_button = new XoopsFormButton('', 'move_messages', ($_REQUEST['op'] == 'save') ? _PM_UNSAVE : _PM_TOSAVE, 'submit')

Definition at line 220 of file viewpmsg.php.

$pm_arr = $pm_handler->getAll($criteria, null, false, false)

Definition at line 177 of file viewpmsg.php.

$pm_handler =& xoops_getModuleHandler('message')

Definition at line 35 of file viewpmsg.php.

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

Definition at line 223 of file viewpmsg.php.

$send_button = new XoopsFormButton('', 'send', _PM_SEND)

Definition at line 217 of file viewpmsg.php.

$start = empty($_REQUEST["start"]) ? 0 : intval($_REQUEST["start"])

Definition at line 34 of file viewpmsg.php.

$total_messages = $pm_handler->getCount($criteria)

Definition at line 172 of file viewpmsg.php.

$valid_op_requests = array('out', 'save', 'in')

Definition at line 31 of file viewpmsg.php.

if (!is_object($GLOBALS['xoopsUser'])) $xoopsConfig['module_cache'] = 0

Definition at line 27 of file viewpmsg.php.

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

Definition at line 28 of file viewpmsg.php.

if (isset($_POST['delete_messages'])&&isset($_POST['msg_id'])) if (isset($_POST['move_messages'])&&isset($_POST['msg_id'])) if (isset($_REQUEST['empty_messages'])) if ($_REQUEST['op']=="out") else if ($_REQUEST['op']=="save") else
Initial value:
{
$criteria = new CriteriaCompo(new Criteria('to_delete', 0))

Definition at line 167 of file viewpmsg.php.

if(count($pm_arr)>0)

Definition at line 191 of file viewpmsg.php.