XOOPS API 2.5.11 Beta1  UI v0.5
Réalisé par monxoops.fr
Référence du fichier readpmsg.php

Espaces de nommage

 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($pm_arr[0]->getVar('msg_image', 'E'), ENT_QUOTES)
 
 $previous = $start - 1
 
 $next = $start + 1
 

Documentation des variables

◆ $criteria

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

◆ $iconName

$iconName = htmlspecialchars($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
Valeur initiale :
{
$pm_handler = xoops_getHandler('privmessage')

◆ if

if($poster !=false)
xoops_getHandler
xoops_getHandler($name, $optional=false)
Definition: functions.php:28
$pm_handler
$pm_handler
Definition: readpmsg.php:28