XMLWordPrintable

      Follow http://docs.moodle.org/dev/How_to_contribute_a_web_service_function_to_core

      This is how I see those methods implemented (Fred):

      create_contacts
          Add a contact to the 'address book'
          @param array(int User ID, ...)
          @return warnings
       
      delete_contacts
          Remove a contact to the 'address book'
          @param array(int User ID, ...)
          @return void
       
      block_contacts
          Block a contact
          @param array(int User ID, ...)
          @return warnings
       
      unblock_contacts
          Unblock a contact
          @param  array(int User ID, ...)
          @return void
       
      get_contacts
          List the contacts
          @return array(
              array(
                  online contacts => array(
                      array(
                          user ID,
                          fullname,
                          picture,
                          picture small,
                          unread messages count
                      )
                  ),
                  offline contacts => array(
                      array(
                          user ID,
                          fullname,
                          picture,
                          picture small,
                          unread messages count
                      )
                  ),
                  strangers => array(
                      array(
                          user ID,
                          fullname,
                          picture,
                          picture small,
                          unread messages count
                      )
                  )
              )
          )
       
      search_contacts
          Search for contacts among the users
          @param string name 
          @param bool only in my courses (default false)
          @return array(
                      array(
                          user ID,
                          fullname,
                          picture,
                          picture small
                      )
                  )

            fred Frédéric Massart
            jerome Jérôme Mouneyrac
            Jérôme Mouneyrac Jérôme Mouneyrac
            Dan Poltawski Dan Poltawski
            Mark Nelson Mark Nelson
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.