API - XOOPS 2.5.11 Beta 2
By monxoops.fr
|
Namespaces | |
namespace | profile |
Variables | |
$_SERVER ['REQUEST_URI'] = 'admin/permissions.php' | |
$op = isset($_REQUEST['op']) ? $_REQUEST['op'] : 'visibility' | |
$visibility_handler = xoops_getModuleHandler('visibility') | |
$field_handler = xoops_getModuleHandler('field') | |
$fields = $field_handler->getList() | |
if(isset( $_REQUEST[ 'submit'])) | if ( $op==='del') |
$opform = new XoopsSimpleForm('', 'opform', 'permissions.php', 'get') | |
$op_select = new XoopsFormSelect('', 'op', $op) | |
$criteria = new CriteriaCompo() | |
$visibilities = $visibility_handler->getAllByFieldId($criteria) | |
$member_handler = xoops_getHandler('member') | |
$groups = $member_handler->getGroupList() | |
$groups [0] = _PROFILE_AM_FIELDVISIBLETOALL | |
$add_form = new XoopsSimpleForm('', 'addform', 'visibility.php') | |
$sel_field = new XoopsFormSelect(_PROFILE_AM_FIELDVISIBLE, 'field_id') | |
$sel_ug = new XoopsFormSelect(_PROFILE_AM_FIELDVISIBLEFOR, 'ug') | |
$sel_pg = new XoopsFormSelect(_PROFILE_AM_FIELDVISIBLEON, 'pg') | |
$_SERVER[ 'REQUEST_URI'] = 'admin/permissions.php' |
$add_form = new XoopsSimpleForm('', 'addform', 'visibility.php') |
$criteria = new CriteriaCompo() |
$field_handler = xoops_getModuleHandler('field') |
$fields = $field_handler->getList() |
$groups = $member_handler->getGroupList() |
$groups[0] = _PROFILE_AM_FIELDVISIBLETOALL |
$member_handler = xoops_getHandler('member') |
$op_select = new XoopsFormSelect('', 'op', $op) |
$opform = new XoopsSimpleForm('', 'opform', 'permissions.php', 'get') |
$sel_field = new XoopsFormSelect(_PROFILE_AM_FIELDVISIBLE, 'field_id') |
$sel_pg = new XoopsFormSelect(_PROFILE_AM_FIELDVISIBLEON, 'pg') |
$sel_ug = new XoopsFormSelect(_PROFILE_AM_FIELDVISIBLEFOR, 'ug') |
$visibilities = $visibility_handler->getAllByFieldId($criteria) |
$visibility_handler = xoops_getModuleHandler('visibility') |
if(isset($_REQUEST['submit'])) if($op==='del') | ( | $op = == 'del' | ) |