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

Go to the source code of this file.

Namespaces

namespace  profile
 

Functions

 profile_getFieldForm (&$field, $action=false)
 
 profile_getRegisterForm (&$user, $profile, $step=null)
 
 profile_getStepForm ($step=null, $action=false)
 
 profile_getUserForm (&$user, $profile=null, $action=false)
 

Function Documentation

profile_getFieldForm ( $field,
  $action = false 
)

Get XoopsThemeForm for adding/editing fields

Parameters
object$fieldProfileField object to get edit form for
mixed$actionURL to submit to - or false for $_SERVER['REQUEST_URI']
Returns
object

Definition at line 31 of file forms.php.

References $_SERVER, $action, $form, $GLOBALS, $i, $options, $regstep_handler, $searchable_types, $title, $type_select, _NO, _NONE, _PROFILE_AM_ADD, _PROFILE_AM_ADDOPTION, _PROFILE_AM_ARRAY, _PROFILE_AM_CATEGORY, _PROFILE_AM_CHECKBOX, _PROFILE_AM_DATE, _PROFILE_AM_DATETIME, _PROFILE_AM_DECIMAL, _PROFILE_AM_DEFAULT, _PROFILE_AM_DESCRIPTION, _PROFILE_AM_DHTMLTEXTAREA, _PROFILE_AM_EDIT, _PROFILE_AM_EMAIL, _PROFILE_AM_FIELD, _PROFILE_AM_FLOAT, _PROFILE_AM_GROUP, _PROFILE_AM_GROUPMULTI, _PROFILE_AM_INT, _PROFILE_AM_KEY, _PROFILE_AM_LANGUAGE, _PROFILE_AM_LONGDATE, _PROFILE_AM_MAXLENGTH, _PROFILE_AM_NAME, _PROFILE_AM_OTHER, _PROFILE_AM_PROF_EDITABLE, _PROFILE_AM_PROF_REGISTER, _PROFILE_AM_PROF_SEARCH, _PROFILE_AM_RADIO, _PROFILE_AM_REMOVEOPTIONS, _PROFILE_AM_REQUIRED, _PROFILE_AM_SELECT, _PROFILE_AM_SELECTMULTI, _PROFILE_AM_TEXTAREA, _PROFILE_AM_TEXTBOX, _PROFILE_AM_TIMEZONE, _PROFILE_AM_TITLE, _PROFILE_AM_TXTAREA, _PROFILE_AM_TXTBOX, _PROFILE_AM_TYPE, _PROFILE_AM_UNICODE_ARRAY, _PROFILE_AM_UNICODE_EMAIL, _PROFILE_AM_UNICODE_TXTAREA, _PROFILE_AM_UNICODE_TXTBOX, _PROFILE_AM_UNICODE_URL, _PROFILE_AM_URL, _PROFILE_AM_VALUE, _PROFILE_AM_VALUETYPE, _PROFILE_AM_WEIGHT, _PROFILE_AM_YESNO, _SUBMIT, XoopsFormSelect\addOption(), XoopsFormSelect\addOptionArray(), XOBJ_DTYPE_ARRAY, XOBJ_DTYPE_DECIMAL, XOBJ_DTYPE_EMAIL, XOBJ_DTYPE_FLOAT, XOBJ_DTYPE_INT, XOBJ_DTYPE_OTHER, XOBJ_DTYPE_TXTAREA, XOBJ_DTYPE_TXTBOX, XOBJ_DTYPE_UNICODE_ARRAY, XOBJ_DTYPE_UNICODE_EMAIL, XOBJ_DTYPE_UNICODE_TXTAREA, XOBJ_DTYPE_UNICODE_TXTBOX, XOBJ_DTYPE_UNICODE_URL, XOBJ_DTYPE_URL, xoops_gethandler(), and xoops_getmodulehandler().

Here is the call graph for this function:

profile_getRegisterForm ( $user,
  $profile,
  $step = null 
)

Get XoopsThemeForm for registering new users

Parameters
object$userXoopsUser to register //
int$stepWhich step we are at
profileRegstep$next_step
Returns
object

Definition at line 280 of file forms.php.

References $_SERVER, $_SESSION, $action, $cat_handler, $config_handler, $fields, $GLOBALS, $i, $profile, $profile_handler, $reg_form, $user, _SUBMIT, _US_DISCLAIMER, _US_EMAIL, _US_IAGREE, _US_NICKNAME, _US_PASSWORD, _US_VERIFYPASS, XOOPS_CONF_USER, xoops_gethandler(), and xoops_getmodulehandler().

Here is the call graph for this function:

profile_getStepForm (   $step = null,
  $action = false 
)

Get XoopsThemeForm for editing a step

Parameters
object$stepProfileRegstep to edit
Returns
object

Definition at line 506 of file forms.php.

References $_SERVER, $action, $config_handler, $form, $GLOBALS, _PROFILE_AM_STEP, _PROFILE_AM_STEPINTRO, _PROFILE_AM_STEPNAME, _PROFILE_AM_STEPORDER, _PROFILE_AM_STEPSAVE, _SUBMIT, XOOPS_CONF_USER, and xoops_gethandler().

Here is the call graph for this function: