API - XOOPS 2.5.11 Beta 2
By monxoops.fr
viewpmsg.php File Reference

Namespaces

namespace  core
 

Variables

 $xoopsPreload = XoopsPreload::getInstance()
 
if(!is_object($xoopsUser)) else
 
 if (isset( $_POST[ 'delete_messages']) &&(isset( $_POST[ 'msg_id'])||isset( $_POST[ 'msg_ids'])))
 
 $criteria = new Criteria('to_userid', $xoopsUser->getVar('uid'))
 
 $pm_arr = $pm_handler->getObjects($criteria)
 
 $total_messages = count($pm_arr)
 

Variable Documentation

◆ $criteria

$criteria = new Criteria('to_userid', $xoopsUser->getVar('uid'))

◆ $pm_arr

$pm_arr = $pm_handler->getObjects($criteria)

◆ $total_messages

$total_messages = count($pm_arr)

◆ $xoopsPreload

$xoopsPreload = XoopsPreload::getInstance()

◆ else

for($i=0; $i< $total_messages;++$i) if ( $display==1) else
Initial value:
{
$pm_handler = xoops_getHandler('privmessage')
xoops_getHandler($name, $optional=false)
Definition: functions.php:30
$pm_handler
Definition: viewpmsg.php:39

◆ if

if(isset($_POST['delete_messages']) &&(isset($_POST['msg_id'])||isset($_POST['msg_ids']))) ( isset( $_POST[ 'delete_messages']) &&(isset( $_POST[ 'msg_id'])||isset( $_POST[ 'msg_ids']))  )