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

Go to the source code of this file.

Namespaces

namespace  profile
 

Variables

 $_POST = array_merge($_SESSION['profile_post'], $_POST)
 
if($GLOBALS['xoopsConfigUser']['activation_type']==1
&&!empty($_SESSION['profile_post']['pass']))
if(isset($_SESSION['profile_post']['_message_'])) 
$_SESSION ['profile_post'] = null
 
 $config_handler =& xoops_gethandler('config')
 
if($current_step >
0 &&!$GLOBALS['xoopsSecurity']->
check()) 
$criteria = new CriteriaCompo()
 
 $current_step = isset($_POST['step']) ? intval( $_POST['step'] ) : 0
 
 $fieldnames = array()
 
 $fieldnames [] = '_message_'
 
 $fields = $profile_handler->loadFields()
 
 $GLOBALS ['xoopsConfigUser'] = $config_handler->getConfigsByCat(XOOPS_CONF_USER)
 
if(isset($steps[$current_step])) $member_handler =& xoops_gethandler('member')
 
 $myts =& MyTextSanitizer::getInstance()
 
if(empty($GLOBALS['xoopsConfigUser']['allow_register'])) $op = !isset($_POST['op']) ? 'register' : $_POST['op']
 
 $postfields = array()
 
 $profile = $profile_handler->get($uid)
 
 $profile_handler = xoops_getmodulehandler('profile')
 
 $regstep_handler = xoops_getmodulehandler('regstep')
 
foreach(array_keys($fields) as
$field) 
$stop = ''
 
 $uid = !empty($_SESSION['profile_register_uid']) ? intval($_SESSION['profile_register_uid']) : 0
 
 $userfields = $profile_handler->getUserVars()
 
 $xoBreadcrumbs [] = array('link' => XOOPS_URL . "/modules/" . $GLOBALS['xoopsModule']->getVar('dirname', 'n') . '/register.php', 'title' => _PROFILE_MA_REGISTER)
 
if(!$steps=$regstep_handler->
getAll($criteria, null, false,
false)) foreach(array_keys($steps)
as $key) 
$xoopsOption ['template_main'] = 'profile_register.html'
 
if($uid==0) else
 

Variable Documentation

if ($GLOBALS['xoopsConfigUser']['activation_type']==1 &&!empty($_SESSION['profile_post']['pass'])) if (isset($_SESSION['profile_post']['_message_'])) $_SESSION['profile_post'] = null

Definition at line 311 of file register.php.

$config_handler =& xoops_gethandler('config')

Definition at line 37 of file register.php.

if ($current_step > 0 &&!$GLOBALS['xoopsSecurity']->check()) $criteria = new CriteriaCompo()

Definition at line 56 of file register.php.

$current_step = isset($_POST['step']) ? intval( $_POST['step'] ) : 0

Definition at line 45 of file register.php.

foreach (array_keys($fields) as $i) $fieldnames = array()

Definition at line 110 of file register.php.

$fieldnames[] = '_message_'

Definition at line 115 of file register.php.

$fields = $profile_handler->loadFields()

Definition at line 83 of file register.php.

$GLOBALS['xoopsConfigUser'] = $config_handler->getConfigsByCat(XOOPS_CONF_USER)

Definition at line 38 of file register.php.

if (isset($steps[$current_step])) $member_handler =& xoops_gethandler('member')

Definition at line 80 of file register.php.

Definition at line 35 of file register.php.

if (empty($GLOBALS['xoopsConfigUser']['allow_register'])) $op = !isset($_POST['op']) ? 'register' : $_POST['op']

Definition at line 44 of file register.php.

$postfields = array()

Definition at line 118 of file register.php.

$regstep_handler = xoops_getmodulehandler('regstep')

Definition at line 58 of file register.php.

Referenced by profile_getFieldForm().

foreach (array_keys($fields) as $field) $stop = ''
$userfields = $profile_handler->getUserVars()

Definition at line 84 of file register.php.

$xoBreadcrumbs[] = array('link' => XOOPS_URL . "/modules/" . $GLOBALS['xoopsModule']->getVar('dirname', 'n') . '/register.php', 'title' => _PROFILE_MA_REGISTER)

Definition at line 75 of file register.php.

if (!$steps=$regstep_handler->getAll($criteria, null, false, false)) foreach (array_keys($steps) as $key) $xoopsOption['template_main'] = 'profile_register.html'

Definition at line 69 of file register.php.

if (isset($_POST['step'])&&isset($_SESSION['profile_required'])) if ($current_step==1) if ($current_step > 0 &&empty($stop)&&(!empty($steps[$current_step-1]['step_save'])||!isset($steps[$current_step]))) if (!empty($stop)||isset($steps[$current_step])) else
Initial value:
{
$newuser = $member_handler->getUser($uid)

Definition at line 102 of file register.php.