Inline C# Function: BaileyWeb.University.Data.GetModuleById

The Inline C# Function GetModuleById retrieves combined data from multiple sources for an individual module.

Files

The following files are supplied with the University Package:

  • ~/App_Data/Composite/InlineCSharpFunctions/BaileyWeb.University.Data.GetModuleById.cs

Parameters

There is 1 parameter:

Parameter: Label: Help: Type: Default: Widget:
ModuleId Module ID Select the module to compile data for. GUID   Text Box

Function Markup

None.

Sub Functions

None.

Text Strings

This function uses the following localisation resources:

Sample Output Code

<ModulesList>
  <Modules>
    <Module Id="2453bb0e-5537-4418-b6ad-7fffd4c35b29">
      <ModuleURL>/IWD101</ModuleURL>
      <ModuleTitle>IWD101 - Introduction to Semantic (X)HTML, CSS, and JavaScript for Bachelor's Degree</ModuleTitle>
      <ModuleCode>IWD101</ModuleCode>
      <ModuleLevel>12276bfc-cd33-4b50-8206-b4d2d0696c02</ModuleLevel>
      <ModuleLevelName>Bachelor's Degree</ModuleLevelName>
      <ModuleType>Compulsary</ModuleType>
      <ModuleName>Introduction to Semantic (X)HTML, CSS, and JavaScript</ModuleName>
      <AcademicDepartment>d890ef52-79b3-4bed-8b24-9e29973d44fb</AcademicDepartment>
      <AcademicDepartmentName>Faculty of Science and Engineering</AcademicDepartmentName>
      <Description>Learn about tags, attributes, events, color names, entities, character-sets, URL encoding, language codes, HTTP messages, styling, and more.</Description>
      <Credits>30</Credits>
      <ApplicationCode>MD-IWD101</ApplicationCode>
      <ApplicationMethod>8adfd6eb-f4b1-4e5e-932c-958fa173a689</ApplicationMethod>
      <ApplicationMethodName>Direct</ApplicationMethodName>
      <ApplicationMethodWebsite>~/apply</ApplicationMethodWebsite>
      <EntryProfile>f3c52c59-ff3d-4fd7-a919-ffc725f58626</EntryProfile>
      <EntryProfileName>Portfolio</EntryProfileName>
      <FeeBand>2c8097b1-5601-4eee-8f37-321fa7b448b0</FeeBand>
      <FeeBandName>MD-A</FeeBandName>
      <DependenciesList />
      <DescendantsList>
        <Module Id="701ed5d6-5a86-45dc-bad8-1577bbe52c7b">
          <ModuleTitle>IWD123 - Accessibility, the Law, and a Slice of Pizza for Bachelor's Degree</ModuleTitle>
          <ModuleCode>IWD123</ModuleCode>
          <ModuleLevel>12276bfc-cd33-4b50-8206-b4d2d0696c02</ModuleLevel>
          <ModuleLevelName>Bachelor's Degree</ModuleLevelName>
          <ModuleType>e73df95d-5ed7-4907-aa8b-700e3045e7cf</ModuleType>
          <ModuleTypeName>Conditional</ModuleTypeName>
          <ModuleName>Accessibility, the Law, and a Slice of Pizza</ModuleName>
          <Credits>10</Credits>
        </Module>
        <Module Id="571700c5-4e71-4a87-a06f-9ac780b446ef">
          <ModuleTitle>IWD404 - Try, Catch, and Other Error Handling Techniques for Bachelor's Degree</ModuleTitle>
          <ModuleCode>IWD404</ModuleCode>
          <ModuleLevel>12276bfc-cd33-4b50-8206-b4d2d0696c02</ModuleLevel>
          <ModuleLevelName>Bachelor's Degree</ModuleLevelName>
          <ModuleType>e73df95d-5ed7-4907-aa8b-700e3045e7cf</ModuleType>
          <ModuleTypeName>Conditional</ModuleTypeName>
          <ModuleName>Try, Catch, and Other Error Handling Techniques</ModuleName>
          <Credits>10</Credits>
        </Module>
      </DescendantsList>
      <LearningOutcomes>
        <html xmlns="http://www.w3.org/1999/xhtml">
          <head></head>
          <body>
            <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Vivamus blandit tortor nisi, sit amet luctus tortor convallis quis. Phasellus vel vestibulum lectus, vel pulvinar ex. In ultrices ultrices ultricies. Phasellus vitae risus et nulla tempus hendrerit sed a ipsum. Pellentesque vitae eros nec justo scelerisque tincidunt. Vestibulum risus tellus, bibendum non fringilla ullamcorper, lobortis nec nibh. Sed at odio odio. Morbi in velit quis mi egestas iaculis a ultrices sapien.</p>
            <p>Aenean scelerisque ipsum turpis, vel tincidunt dolor elementum nec. Cras consectetur mi nec congue dignissim. Vestibulum sed justo egestas, feugiat elit ut, maximus erat. Aliquam sit amet erat ornare, hendrerit metus eget, porta nisi. Cras volutpat, nisi sed vehicula tempor, metus nisi rhoncus nisl, a posuere velit leo vel tellus. Suspendisse laoreet velit urna, et tincidunt eros pharetra vel. Mauris vestibulum massa sapien, eu auctor ante finibus ut. Suspendisse sed maximus tellus, ut varius purus. Vivamus rhoncus quam porta, tristique lacus ac, imperdiet dui. Donec pellentesque tellus leo, sit amet fermentum ligula venenatis ac. Aenean id blandit nulla. Nam hendrerit arcu dolor, sit amet imperdiet tellus interdum in. Curabitur sed tincidunt turpis. In rhoncus commodo turpis eu mollis. Ut sit amet varius ipsum.</p>
          </body>
        </html>
      </LearningOutcomes>
      <TeachingMethods>
        <html xmlns="http://www.w3.org/1999/xhtml">
          <head></head>
          <body>
            <p>Aenean scelerisque ipsum turpis, vel tincidunt dolor elementum nec. Cras consectetur mi nec congue dignissim. Vestibulum sed justo egestas, feugiat elit ut, maximus erat. Aliquam sit amet erat ornare, hendrerit metus eget, porta nisi. Cras volutpat, nisi sed vehicula tempor, metus nisi rhoncus nisl, a posuere velit leo vel tellus. Suspendisse laoreet velit urna, et tincidunt eros pharetra vel. Mauris vestibulum massa sapien, eu auctor ante finibus ut. Suspendisse sed maximus tellus, ut varius purus. Vivamus rhoncus quam porta, tristique lacus ac, imperdiet dui. Donec pellentesque tellus leo, sit amet fermentum ligula venenatis ac. Aenean id blandit nulla. Nam hendrerit arcu dolor, sit amet imperdiet tellus interdum in. Curabitur sed tincidunt turpis. In rhoncus commodo turpis eu mollis. Ut sit amet varius ipsum.</p>
            <p>Aliquam feugiat dignissim quam quis malesuada. Nunc venenatis quam sed ante feugiat lobortis. Integer sagittis erat in nibh mollis, eu varius est volutpat. Morbi viverra nisi nec nisi facilisis eleifend. Aliquam eleifend id libero vitae egestas. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Mauris ac porttitor justo. In vitae viverra est. Etiam erat dui, maximus eu rhoncus sed, bibendum et justo. Maecenas tristique a lectus ut dignissim. Suspendisse volutpat dui quis elit tempor pharetra. Quisque ac felis ante. Duis pretium ornare erat et tincidunt.</p>
          </body>
        </html>
      </TeachingMethods>
      <AssessmentMethods>
        <html xmlns="http://www.w3.org/1999/xhtml">
          <head></head>
          <body>
            <p>Aliquam feugiat dignissim quam quis malesuada. Nunc venenatis quam sed ante feugiat lobortis. Integer sagittis erat in nibh mollis, eu varius est volutpat. Morbi viverra nisi nec nisi facilisis eleifend. Aliquam eleifend id libero vitae egestas. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Mauris ac porttitor justo. In vitae viverra est. Etiam erat dui, maximus eu rhoncus sed, bibendum et justo. Maecenas tristique a lectus ut dignissim. Suspendisse volutpat dui quis elit tempor pharetra. Quisque ac felis ante. Duis pretium ornare erat et tincidunt.</p>
            <p>Duis vitae ligula pulvinar, dapibus velit et, pulvinar justo. Mauris eget efficitur nisi. Curabitur hendrerit velit quis orci rhoncus, et vehicula quam posuere. Fusce vulputate purus vel ligula lobortis eleifend sed accumsan felis. Sed pretium mauris eget turpis vehicula mollis. Donec rhoncus turpis nec lacus mattis, at vestibulum velit egestas. Aenean posuere, sem eget sagittis ultricies, leo diam ultricies diam, eu hendrerit enim ex ac metus. Aenean vitae turpis fermentum orci viverra mattis. Vestibulum dapibus orci et condimentum ultricies. Donec metus lacus, pharetra non orci vitae, pulvinar hendrerit tortor. Proin vel magna iaculis, blandit augue nec, elementum dui. Aenean ac urna quis leo mollis ultricies.</p>
          </body>
        </html>
      </AssessmentMethods>
      <ReadingResources>
        <html xmlns="http://www.w3.org/1999/xhtml">
          <head></head>
          <body>
            <p>Duis vitae ligula pulvinar, dapibus velit et, pulvinar justo. Mauris eget efficitur nisi. Curabitur hendrerit velit quis orci rhoncus, et vehicula quam posuere. Fusce vulputate purus vel ligula lobortis eleifend sed accumsan felis. Sed pretium mauris eget turpis vehicula mollis. Donec rhoncus turpis nec lacus mattis, at vestibulum velit egestas. Aenean posuere, sem eget sagittis ultricies, leo diam ultricies diam, eu hendrerit enim ex ac metus. Aenean vitae turpis fermentum orci viverra mattis. Vestibulum dapibus orci et condimentum ultricies. Donec metus lacus, pharetra non orci vitae, pulvinar hendrerit tortor. Proin vel magna iaculis, blandit augue nec, elementum dui. Aenean ac urna quis leo mollis ultricies.</p>
            <p>Nulla nec nulla nisl. Praesent a ex non urna suscipit elementum et ullamcorper risus. Aenean tempus, mauris hendrerit mollis congue, elit mauris sagittis ante, non gravida leo nisl consectetur nisi. Curabitur maximus velit vel odio lacinia, id facilisis quam aliquet. Nullam massa nibh, eleifend eu euismod in, finibus a ligula. Ut mollis turpis ac ultrices lobortis. Ut porta nisi et sem tincidunt, id rhoncus urna dictum. Nulla tincidunt ligula nunc, ut convallis sem lacinia vel. Donec ultrices, tortor sit amet facilisis facilisis, dui ipsum tincidunt ligula, vel scelerisque quam nisl eget orci.</p>
          </body>
        </html>
      </ReadingResources>
      <TaughtByList />
      <LocationsList>
        <Locations>
          <Location Id="f3b84cfe-2194-46a8-bbfc-f7186baef65b">
            <LocationCode>BA</LocationCode>
            <LocationName>Bath</LocationName>
            <Country>United Kingdom of Great Britain and Northern Ireland (UK)</Country>
          </Location>
        </Locations>
      </LocationsList>
      <Handbook />
      <Display>true</Display>
    </Module>
  </Modules>
</ModulesList>

Updated: 22 December 2019