wCMF  3.6
 All Classes Namespaces Files Functions Variables Groups Pages
SimpleBatchController Class Reference
+ Inheritance diagram for SimpleBatchController:

Public Member Functions

 getWorkPackage ($number)
 
 createFileA ($oids)
 
 createFileB ($oids)
 
- Public Member Functions inherited from BatchController
 initialize (&$request, &$response)
 
 addWorkPackage ($name, $size, $oids, $callback, $args=null)
 
 getWorkPackage ($number)
 
 getNumberOfSteps ()
 
 getDisplayText ($step)
 
 getSummaryText ()
 
 processPart ()
 
- Public Member Functions inherited from LongTaskController
 initialize (&$request, &$response)
 
 hasView ()
 
 executeKernel ()
 
 getStepNumber ()
 
 getNumberOfSteps ()
 
 getDisplayText ($step)
 
 getSummaryText ()
 
 initializeTask ()
 
 processPart ()
 
- Public Member Functions inherited from Controller
 Controller (&$delegate)
 
 initialize (&$request, &$response)
 
 validate ()
 
 hasView ()
 
 execute ()
 
 executeKernel ()
 
 getErrorMsg ()
 
 setErrorMsg ($msg)
 
 appendErrorMsg ($msg)
 
getRequest ()
 
getResponse ()
 
getView ()
 
getDelegate ()
 
 getViewTemplate ($controller, $context, $action)
 
 getCacheId ()
 
 assignViewDefaults (&$view)
 
 isLocalizedRequest ()
 

Additional Inherited Members

- Public Attributes inherited from BatchController
 $WORK_PACKAGES_VARNAME = 'BatchController.workPackages'
 
 $NUM_STEPS_VARNAME = 'BatchController.numSteps'
 
 $_workPackages = array()
 
- Public Attributes inherited from LongTaskController
 $STEP_SESSION_VARNAME = 'LongTaskController.curStep'
 
 $ONE_CALL_SESSION_VARNAME = 'LongTaskController.oneCall'
 
 $_curStep = 1
 
- Public Attributes inherited from Controller
 $_request = null
 
 $_response = null
 
 $_errorMsg = ''
 
 $_view = null
 
 $_delegate = null
 

Detailed Description

SimpleBatchController is a controller demonstrating the use of BatchController for cutting a long task into a fixed number of smaller tasks.

wCMF - wemove Content Management Framework Copyright (C) 2005-2014 wemove digital solutions GmbH

Licensed under the terms of any of the following licenses at your choice:

See the license.txt file distributed with this work for additional information.

Id:
class.SimpleBatchController.php 1462 2014-02-04 23:52:27Z iherwig

Input actions:

Output actions:

Author
ingo herwig ingo@.nosp@m.wemo.nosp@m.ve.co.nosp@m.m

Definition at line 36 of file class.SimpleBatchController.php.

Member Function Documentation

SimpleBatchController::getWorkPackage (   $number)
SimpleBatchController::createFileA (   $oids)

Create one file of type A for each oid in oids

Parameters
oidsThe oids to process
Note
This is a callback method called on a matching work package
See Also
BatchController::addWorkPackage()

Definition at line 68 of file class.SimpleBatchController.php.

SimpleBatchController::createFileB (   $oids)

Create one file of type B for each oid in oids

Parameters
oidsThe oids to process
Note
This is a callback method called on a matching work package
See Also
BatchController::addWorkPackage()

Definition at line 84 of file class.SimpleBatchController.php.


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