\CMSBatchAction
A class representing back actions
<code>
CMSMain::register_batch_action('publishitems', new CMSBatchAction('doPublish',
_t('CMSBatchActions.PUBLISHED_PAGES', 'published %d pages')));
</code>
Synopsis
class CMSBatchAction
extends Object
{
- // methods
- public abstract void getActionTitle()
- public abstract void getDoingText()
- public abstract void run()
- public void batchaction()
- public void applicablePagesHelper()
- public void getParameterFields()
- public void canView()
Hierarchy
Extends
- Object
Methods
public
- applicablePagesHelper() — Helper method for applicablePages() methods. Acts as a skeleton implementation.
- batchaction() — Helper method for processing batch actions.
- canView() — If you wish to restrict the batch action to some users, overload this function.
- getActionTitle() — The the text to show in the dropdown for this action
- getDoingText() — Get text to be shown while the action is being processed, of the form "publishing pages".
- getParameterFields()
- run() — Run this action for the given set of pages.