You are here

public function LTIToolProviderOutcomesEntityController::create in LTI Tool Provider 7

Overrides LTIToolProviderOutcomesEntityControllerInterface::create

See also

LTIToolProviderOutcomesEntityControllerInterface::create

File

lti_tool_provider_outcomes/LTIToolProviderOutcomesEntityController.class.php, line 40
Entity controller class for outcomes.

Class

LTIToolProviderOutcomesEntityController

Code

public function create() {
  $entity = new stdClass();
  $entity->lti_tool_provider_outcomes_id = 0;
  $entity->lti_tool_provider_outcomes_resource_entity_id_fk = 0;
  $entity->lti_tool_provider_outcomes_result_sourcedid = '';
  $entity->lti_tool_provider_outcomes_context_id = '';
  $entity->lti_tool_provider_outcomes_user_id = '';
  $entity->lti_tool_provider_outcomes_score = '';
  return $entity;
}