|
| data_add_fields_contents_to_new_record ($data, $context, $recordid, $fields, $datarecord, $processeddata) |
| Populate the field contents of a new record with the submitted data.
|
|
| data_approve_entry ($entryid, $approve) |
| Approves or unapproves an entry.
|
|
| data_build_search_array ($data, $paging, $searcharray, $defaults=null, $fn='', $ln='') |
| Build the search array.
|
|
| data_can_view_record ($data, $record, $currentgroup, $canmanageentries) |
| Check if the current user can view the given record.
|
|
| data_get_entries_left_to_add ($data, $numentries, $canmanageentries) |
| Return the number of entries left to add to complete the activity.
|
|
| data_get_entries_left_to_view ($data, $numentries, $canmanageentries) |
| Return the number of entires left to add to view other users entries.
|
|
| data_get_field_instances ($data) |
| Return all the field instances for a given database.
|
|
| data_get_tag_title_field ($dataid) |
| Get the title of a field to show when displaying tag results.
|
|
| data_get_tag_title_for_entry ($field, $entry) |
| Get the title of an entry to show when displaying tag results.
|
|
| data_get_time_availability_status ($data, $canmanageentries=null, $context=null) |
| Check if a database is available for the current user.
|
|
| data_require_time_available ($data, $canmanageentries=null, $context=null) |
| Requires a database to be available for the current user.
|
|
| data_search_entries ($data, $cm, $context, $mode, $currentgroup, $search='', $sort=null, $order=null, $page=0, $perpage=0, $advanced=null, $searcharray=null, $record=null) |
| Search entries in a database.
|
|
| data_set_events ($data) |
| This creates new calendar events given as timeavailablefrom and timeclose by $data.
|
|
| data_update_record_fields_contents ($data, $record, $context, $datarecord, $processeddata) |
| Updates the fields contents of an existing record.
|
|
| mod_data_get_tagged_records ($tag, $exclusivemode=false, $fromctx=0, $ctx=0, $rec=true, $page=0) |
| Returns data records tagged with a specified tag.
|
|