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

Namespaces

namespace  core
 

Variables

 $xoopsPreload = XoopsPreload::getInstance()
 
if(!is_object($xoopsUser)) else
 
if(!empty($_POST['delete'])) $start = !empty($_GET['start']) ? (int)$_GET['start'] : 0
 
 $total_messages = !empty($_GET['total_messages']) ? (int)$_GET['total_messages'] : 0
 
 $criteria = new Criteria('to_userid', $xoopsUser->getVar('uid'))
 
 $pm_arr = $pm_handler->getObjects($criteria)
 
 $poster = new XoopsUser($pm_arr[0]->getVar('from_userid'))
 
 if (! $poster->isActive())
 
 $iconName = htmlspecialchars((string)$pm_arr[0]->getVar('msg_image', 'E'), ENT_QUOTES)
 
 $previous = $start - 1
 
 $next = $start + 1
 

Variable Documentation

◆ $criteria

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

◆ $iconName

$iconName = htmlspecialchars((string)$pm_arr[0]->getVar('msg_image', 'E'), ENT_QUOTES)

◆ $next

$next = $start + 1

◆ $pm_arr

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

◆ $poster

$poster = new XoopsUser($pm_arr[0]->getVar('from_userid'))

◆ $previous

$previous = $start - 1

◆ $start

if (!empty( $_POST[ 'delete'])) $start = !empty($_GET['start']) ? (int)$_GET['start'] : 0

◆ $total_messages

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

◆ $xoopsPreload

$xoopsPreload = XoopsPreload::getInstance()

◆ else

if ( $next< $total_messages) else
Initial value:
{
$pm_handler = xoops_getHandler('privmessage')
xoops_getHandler($name, $optional=false)
Definition: functions.php:30
$pm_handler
Definition: readpmsg.php:28

◆ if

if($poster !=false) ( ! $poster->  isActive())