Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-header.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-header.php on line 8

UsersDefaultController Class Reference

Inheritance diagram for UsersDefaultController:
ZurmoModuleController ZurmoBaseController Controller

Public Member Functions

 filters ()
 actionList ()
 actionChangeAvatar ($id)
 actionDetails ($id)
 actionAuditEventsModalList ($id)
 actionCreate ()
 actionEdit ($id)
 actionChangePassword ($id)
 actionConfirmTimeZone ()
 actionMassEdit ()
 actionMassEditProgressSave ()
 actionProfile ()
 actionModalList ()
 actionSecurityDetails ($id)
 actionConfigurationEdit ($id)
 actionEmailConfiguration ($id, $redirectUrl=null)
 actionExport ()
 actionAutoCompleteForMultiSelectAutoComplete ($term, $autoCompleteOptions=null)
 actionGetUsersByPartialStringWithReadPermissionsForSecurableItem ($term, $relatedModelClassName=null, $relatedModelId=null)
 actionGameDashboard ($id)
 actionSwitchTo ($username)
 actionNotificationConfiguration ($id, $redirectUrl=null)

Data Fields

const EMAIL_CONFIGURATION_FILTER_PATH
const USER_SWITCHER_RIGHTS_FILTER_PATH

Protected Member Functions

 resolveModelForAuditEventsModalList ($id)
 attemptToSaveModelFromPost ($model, $redirectUrlParams=null, $redirect=true, $returnOnValidate=false)
 resolveZurmoDefaultOrAdminView (View $containedView, $breadCrumbLinks, $breadcrumbViewClassName)
 attemptToValidateAjaxFromPost ($model, $postVariableName)
 resolveStateMetadataAdapterClassNameForExport ()
 processSendGridPostConfiguration ($id, $redirectUrl=null)

Static Protected Member Functions

static getSearchFormClassName ()

Detailed Description

Definition at line 37 of file DefaultController.php.


Member Function Documentation

filters (  ) 

Override to exclude modalSearchList and autoComplete since these are available to all users regardless of the access right on the users module. Excludes details, edit, changePassword, and securityDetails because these actions are checked using the resolveCanCurrentUserAccessAction method.

Reimplemented from ZurmoModuleController.

Definition at line 53 of file DefaultController.php.

attemptToSaveModelFromPost ( model,
redirectUrlParams = null,
redirect = true,
returnOnValidate = false 
) [protected]

Override to handle UserStatus processing.

See also:
ZurmoBaseController::attemptToSaveModelFromPost()

Reimplemented from ZurmoBaseController.

Definition at line 300 of file DefaultController.php.

actionMassEdit (  ) 

Action for displaying a mass edit form and also action when that form is first submitted. When the form is submitted, in the event that the quantity of models to update is greater than the pageSize, then once the pageSize quantity has been reached, the user will be redirected to the makeMassEditProgressView. In the mass edit progress view, a javascript refresh will take place that will call a refresh action, usually massEditProgressSave. If there is no need for a progress view, then a flash message will be added and the user will be redirected to the list view for the model. A flash message will appear providing information on the updated records.

See also:
Controler->makeMassEditProgressView
Controller->processMassEdit

Definition at line 368 of file DefaultController.php.

actionMassEditProgressSave (  ) 

Action called in the event that the mass edit quantity is larger than the pageSize. This action is called after the pageSize quantity has been updated and continues to be called until the mass edit action is complete. For example, if there are 20 records to update and the pageSize is 5, then this action will be called 3 times. The first 5 are updated when the actionMassEdit is called upon the initial form submission.

Definition at line 408 of file DefaultController.php.

actionAutoCompleteForMultiSelectAutoComplete ( term,
autoCompleteOptions = null 
)

Given a partial name search for all users unless the current user has security restrictions. JSON encode the resulting array of users.

Definition at line 604 of file DefaultController.php.

actionGetUsersByPartialStringWithReadPermissionsForSecurableItem ( term,
relatedModelClassName = null,
relatedModelId = null 
)

Given a partial name search for all users. If related model details are not empty, return only users that have access to read model JSON encode the resulting array of results in requested format.

Parameters:
$term 
null $relatedModelClassName
null $relatedModelId

Definition at line 628 of file DefaultController.php.

resolveZurmoDefaultOrAdminView ( View containedView,
breadCrumbLinks,
breadcrumbViewClassName 
) [protected]

Depending on the user interface, the user views should utilize the admin or regular view. This especially important for mobile, since for mobile there are no admin views available yet.

Parameters:
$containedView 
$breadCrumbLinks 
$breadcrumbViewClassName 
Returns:
GridView

Definition at line 701 of file DefaultController.php.

attemptToValidateAjaxFromPost ( model,
postVariableName 
) [protected]

Override to handle userStatus validation

Parameters:
User | ModelForm $model
string $postVariableName

Reimplemented from Controller.

Definition at line 721 of file DefaultController.php.

processSendGridPostConfiguration ( id,
redirectUrl = null 
) [protected]

Configure sendgrid options.

Parameters:
int $id
string $redirectUrl
Returns:
void

Definition at line 826 of file DefaultController.php.


Field Documentation

const EMAIL_CONFIGURATION_FILTER_PATH
Initial value:
              'application.modules.emailMessages.controllers.filters.EmailConfigurationCheckControllerFilter'

Definition at line 39 of file DefaultController.php.

const USER_SWITCHER_RIGHTS_FILTER_PATH
Initial value:
                'application.modules.zurmo.controllers.filters.UserSwitcherRightsControllerFilter'

Definition at line 42 of file DefaultController.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Tue Mar 19 07:11:06 2019

Warning: mysql_connect(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /home/zurmoorg/public_html/z-footer.php on line 8

Deprecated: mysql_connect(): The mysql extension is deprecated and will be removed in the future: use mysqli or PDO instead in /home/zurmoorg/public_html/z-footer.php on line 8