You are here

public function LTIToolProviderMembershipsContextEntityController::create in LTI Tool Provider 7

Overrides LTIToolProviderMembershipsContextEntityControllerInterface::create

File

lti_tool_provider_memberships/LTIToolProviderMembershipsContextEntityController.class.php, line 23
Contains LTIToolProviderMembershipsContextEntityController.

Class

LTIToolProviderMembershipsContextEntityController
Memberships Context Entity controller.

Code

public function create() {
  $entity = new stdClass();
  $entity->lti_tool_provider_memberships_context_id = 0;
  $entity->lti_tool_provider_memberships_context_context_id = NULL;
  $entity->lti_tool_provider_memberships_context_file_id = 0;
  return $entity;
}