• Home
  • PFC
  • Computer
  • General
  • Personal
  • Posts RSS
  • Comments RSS
Blue Orange Green Pink Purple

Featured content

¡Ves a http://elfiberhabla.net para seguir mi blog! Esta web ya no es activa!

Class diagram about OpenSyllabus integration in Moodle

Well, I've finished doing the class diagram for the plugin I developed for Moodle:

Explanations

Previously in moodle existed a class called Moodleform. This class is intended to be subclassed, as it works as a template for all forms in Moodle. So I subclassed it in order to make my own form for OpenSyllabus plugin. The functions (all their sequence diagrams will be posted in my next post) I needed to redefine were:

  1. definition(): this operation is called by the constructor and builds the form with the fields you define on it
  2. definition_after_data: for making some validations or instructions after data is submitted.
  3. getFileValue(): this operation retrieves the name of the uploaded file.
  4. validation(): this operation makes some validations before the form is accepted. In my case, as I only had to make a prototype, I redefined it empty.
  5. add_action_buttons(): adds the "submit" and cancel buttons to the form.

As I said, I will provide sequence diagrams later. Once I defined the form, now only we must bind this form to our Main process and the logics of our problem is finished. It's easy to understand, it isn't?

Read More 1 Comment | Posted by Davigetto | edit post

1 Comment

  1. Unknown on December 12, 2009 at 1:05 PM

    hi. you have class diagramm for moodle? i'm interesting for that.

     


Post a Comment
Newer Post Older Post Home

The FIBer Talks

  • About
      I'm using this blog as logbook for my PFC
  • facebook

    Facebook

    Who is Davigetto?

    My photo
    Davigetto
    View my complete profile

    Blog Archive

    • ►  2009 (7)
      • ►  May (1)
      • ►  March (3)
      • ►  February (2)
      • ►  January (1)
    • ▼  2008 (37)
      • ►  December (1)
      • ►  October (6)
      • ▼  September (7)
        • Sequence diagram about OpenSyllabus integration in...
        • Class diagram about OpenSyllabus integration in Mo...
        • The importance of UML in the software programming ...
        • Blocks, modules and discovers
        • 15th September: Meeting with Marc Alier: the IDea
        • Next round: The XSLT part
        • Next round: Implementing the OpenSyllabus integrat...
      • ►  August (2)
      • ►  July (7)
      • ►  June (7)
      • ►  May (4)
      • ►  February (3)
    • ►  2007 (12)
      • ►  December (1)
      • ►  September (1)
      • ►  August (2)
      • ►  July (2)
      • ►  June (3)
      • ►  March (3)

    Labels

    • Computer (8)
    • database (1)
    • Diary Life (1)
    • General (6)
    • Information Systems (1)
    • Me quejo (2)
    • Miscelanea (1)
    • moodle (4)
    • opensyllabus (1)
    • Personal (7)
    • PFC (26)
    • php (2)
    • Poetry (6)
    • restore (1)
    • Testing (1)
    • Web (1)
    • xml (1)
    • xslt (2)
    • zip (1)

    Last Comments

    Loading...




    • Home
    • Posts RSS
    • Comments RSS
    • PFC

    © Copyright El FIBer Habla. All rights reserved.

    Back to Top