ILIAS  release_5-2 Revision v5.2.25-18-g3f80b828510
class.ilMessageDefinitionElement.php
Go to the documentation of this file.
1<?php
2/* Copyright (c) 1998-2016 ILIAS open source, Extended GPL, see docs/LICENSE */
3
13{
14 public function getMessageDefinitionArray($message)
15 {
16 $message_definition = array();
17
18 $message_definition['name'] = $message['attributes']['name'];
19 $message_definition['id'] = $message['attributes']['id'];
20 $message_definition['content'] = ilBPMN2ParserUtils::extractILIASMessageDefinitionFromElement($message);
21
22 $message_definition_array_string = " '".$message_definition['id']."' => array(
23 'name' => '".$message_definition['name']."',
24 'content' => '".$message_definition['content']['mailtext']."')";
25
26 return $message_definition_array_string;
27 }
28}
An exception for terminatinating execution or to throw for unit testing.
static extractILIASMessageDefinitionFromElement($element)
Class ilBaseElement.
Class ilMessageDefinitionElement.