You are here

public function ViewsBulkOperationsBaseOperation::__construct in Views Bulk Operations (VBO) 7.3

Constructs an operation object.

Parameters

$operationId: The id of the operation.

$entityType: The entity type that the operation is operating on.

$operationInfo: An array of information about the operation.

$adminOptions: An array of options set by the admin.

File

plugins/operation_types/base.class.php, line 53
Defines the base class for operations.

Class

ViewsBulkOperationsBaseOperation
@file Defines the base class for operations.

Code

public function __construct($operationId, $entityType, array $operationInfo, array $adminOptions) {
  $this->operationId = $operationId;
  $this->entityType = $entityType;
  $this->operationInfo = $operationInfo;
  $this->adminOptions = $adminOptions;
}