Relations

Two new relations were created to associate dotlrn classes and communities to dotlrn-catalog courses. On associates the dotlrn_catalog type with dotlrn_class_instance type for dotlrn classes, and the other one associates the dotlrn_catalog type with dotlrn_club for the communities. Here is were the previous created roles take place:

# To associate one course to dotlrn 
      class rel_types::new -role_one d_catalog_role \
                           -role_two dotlrn_class_role dotlrn_catalog_class_rel \
                           "DotLRN Catalog Class" "DotLRN Catalog Class" \
                           dotlrn_catalog 0 1 dotlrn_class_instance 0 1
      
# To associate one course to dotlrn community 
        rel_types::new -role_one d_catalog_role -role_two dotlrn_com_role \
                        dotlrn_catalog_dotcom_rel "DotLRN Catalog Community" \
                        "DotLRN Catalog Community" dotlrn_catalog 0 1 dotlrn_club 0 1