Squiz Matrix  4.12.2
 All Data Structures Namespaces Functions Variables Pages
User_Group_Edit_Fns Class Reference
Inheritance diagram for User_Group_Edit_Fns:
Folder_Edit_Fns Asset_Edit_Fns MySource_Object Ipb_User_Group_Edit_Fns Ldap_User_Group_Edit_Fns Role_Edit_Fns System_User_Group_Edit_Fns

Public Member Functions

 User_Group_Edit_Fns ()
 
 getCurrentRestrictions (&$asset)
 
 isRestricted (&$asset, $prefix)
 
 paintTypeRestrictions (&$asset, &$o, $prefix)
 
 processTypeRestrictions (&$asset, &$o, $prefix)
 
 paintPreferences (&$asset, &$o, $prefix)
 
 processPreferences (&$asset, &$o, $prefix)
 
 _printRoleTable ($prefix, $pag_id, $roles, $write_access=FALSE, $include_userid=FALSE)
 
 paintRoles (&$asset, &$o, $prefix)
 
 processRoles (&$asset, &$o, $prefix)
 
- Public Member Functions inherited from Folder_Edit_Fns
 Folder_Edit_Fns ()
 
- Public Member Functions inherited from Asset_Edit_Fns
 Asset_Edit_Fns ()
 
 paintPaths (&$asset, &$o, $prefix)
 
 paintEditRemapURLs (&$asset, &$o, $prefix)
 
 processPaths (&$asset, &$o, $prefix)
 
 processEditRemapURLs (&$asset, &$o, $prefix)
 
 paintURLs (&$asset, &$o, $prefix)
 
 paintAddRemapURLs (&$asset, &$o, $prefix)
 
 processAddRemapURLs (&$asset, &$o, $prefix)
 
 isWorkflowComplete (&$asset)
 
 paintNoticeLinkedAsset (&$asset, $link_value, $type_codes=Array(), $field_name='', $multiple=FALSE)
 
 processNoticeLinkedAsset (&$asset, $link_value, $field_name='', $multiple=FALSE)
 
 isSearchInstalled (&$asset, $prefix)
 
 isBeingCreated (&$asset)
 
 isNotBeingCreated (&$asset)
 
 paintAutomaticRemapSetting (&$asset, &$o, $prefix)
 
 paintCreateLink (&$asset, &$o, $prefix)
 
- Public Member Functions inherited from MySource_Object
 MySource_Object ()
 
 __sleep ()
 
 __wakeup ()
 

Additional Inherited Members

- Data Fields inherited from Asset_Edit_Fns
 $static_screens
 

Detailed Description

Definition at line 30 of file user_group_edit_fns.inc.

Member Function Documentation

_printRoleTable (   $prefix,
  $pag_id,
  $roles,
  $write_access = FALSE,
  $include_userid = FALSE 
)

Paints a table with a list of roles

Parameters
string$prefixPrefix of the calling edit function
string$pag_idThe id of the page
array$rolesRoles to be printed
boolean$write_accessTrue to show checkboxes for re-assigning
boolean$include_useridTrue to include an "Assigned To" column
Returns
NULL private

Definition at line 459 of file user_group_edit_fns.inc.

getCurrentRestrictions ( $asset)

Get an array of the current security restrictions for the user group

Parameters
object&$assetthe user group asset
Returns
array public

Definition at line 53 of file user_group_edit_fns.inc.

isRestricted ( $asset,
  $prefix 
)

Determine if any security restrictions apply to this user group

This function will only return FALSE if access has been granted for all screens on all asset types (the global unrestricted flag)

Parameters
object&$assetthe user group asset
string$prefixthe prefix for this asset
Returns
boolean public

Definition at line 88 of file user_group_edit_fns.inc.

paintPreferences ( $asset,
$o,
  $prefix 
)

Prints the interface for customising prefenences

Parameters
object&$assetthe user group asset
object&$othe Backend Outputter object
string$prefixprefix for form elements
Returns
boolean public

Definition at line 334 of file user_group_edit_fns.inc.

paintRoles ( $asset,
$o,
  $prefix 
)

Paints the interface re-assigning roles to a user group

Parameters
object&$assetthe user asset
object&$othe backend outputter
string$prefixprefix for form elements
Returns
boolean public

Definition at line 592 of file user_group_edit_fns.inc.

paintTypeRestrictions ( $asset,
$o,
  $prefix 
)

Prints the interface for editing type restrictions

Parameters
object&$assetthe user group asset
object&$othe backend outputter object
string$prefixprefix for form elements
Returns
boolean public

Definition at line 106 of file user_group_edit_fns.inc.

processPreferences ( $asset,
$o,
  $prefix 
)

Processes the interface for customising preferences

Parameters
object&$assetthe user group asset
object&$othe Backend Outputter object
string$prefixprefix for the form element
Returns
boolean public

Definition at line 397 of file user_group_edit_fns.inc.

processRoles ( $asset,
$o,
  $prefix 
)

Processes the interface re-assigning roles to a user group

Parameters
object&$assetthe user asset
object&$othe backend outputter
string$prefixprefix for form elements
Returns
boolean public

Definition at line 671 of file user_group_edit_fns.inc.

processTypeRestrictions ( $asset,
$o,
  $prefix 
)

Processes the interface for editing type restrictions

Parameters
object&$assetthe user group asset
object&$othe Backend Outputter object
string$prefixprefix for the form element
Returns
boolean public

Definition at line 221 of file user_group_edit_fns.inc.

Constructor

Definition at line 38 of file user_group_edit_fns.inc.


The documentation for this class was generated from the following file: