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

ProgressView Class Reference

Inheritance diagram for ProgressView:
View MassProgressView MassDeleteProgressView MassEditProgressView MarketingListMembersMassSubscribeProgressView MassSubscribeProgressView MarketingListMembersMassUnsubscribeProgressView

Public Member Functions

 __construct ($controllerId, $moduleId, $model, $totalRecordCount, $start, $pageSize, $page, $refreshActionId, $title)
 renderRefreshJSONScript ()
 renderRefreshScript ()

Protected Member Functions

 headerLabelPrefixContent ()
 renderContent ()
 getCreateProgressBarAjax ($progressBarId)
 getProgressValue ()
 getEndSize ()
 onProgressComplete ()

Protected Attributes

 $totalRecordCount
 $pageSize
 $progressBarId

Detailed Description

Progress view is an abstraction used for processes that occur in phases. This includes import, export, and mass edit as examples. Allows for an automatic loop of server calls using Ajax until a process is complete.

Definition at line 43 of file ProgressView.php.


Constructor & Destructor Documentation

__construct ( controllerId,
moduleId,
model,
totalRecordCount,
start,
pageSize,
page,
refreshActionId,
title 
)

Constructs a mass edit progress view specifying the controller as well as the model that will have its mass edit displayed.

Definition at line 66 of file ProgressView.php.


Member Function Documentation

renderRefreshJSONScript (  ) 

Returns JSON encoded script utilized on AJAX call by ProgressView Return has three elements in the array callback, value, and message

Definition at line 95 of file ProgressView.php.

renderContent (  )  [protected]

Renders the view content.

Reimplemented from View.

Definition at line 124 of file ProgressView.php.

onProgressComplete (  )  [protected]

Override if you have a specific action to perform when the progress is completed.

Reimplemented in MassProgressView.

Definition at line 205 of file ProgressView.php.


Field Documentation

$totalRecordCount [protected]

How many total records need to be processed in the batch

Definition at line 50 of file ProgressView.php.

$pageSize [protected]

How many records to process per ajax call.

Definition at line 55 of file ProgressView.php.

$progressBarId [protected]

Unique identifier for the progress bar widget that is displayed

Definition at line 60 of file ProgressView.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Thu Jan 17 07:10:27 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