From: Mike Taylor Date: Wed, 9 Apr 2014 14:28:07 +0000 (+0100) Subject: Add parameters to all team methods. X-Git-Tag: 1.0.0~974^2~5 X-Git-Url: http://git.indexdata.com/?p=mkws-moved-to-github.git;a=commitdiff_plain;h=55e52daf6824d8926891606cce49e7f56251c32a Add parameters to all team methods. --- diff --git a/doc/mkws-developer.txt b/doc/mkws-developer.txt index 34e5532..7290951 100644 --- a/doc/mkws-developer.txt +++ b/doc/mkws-developer.txt @@ -106,23 +106,23 @@ this.log(string) -- a function to log a string for debugging TEAM PROPERTIES AND METHODS =========================== -team.queue -team.name -team.targetFiltered(data[i].id) -team.config() -team.log() -team.newSearch(query, sortOrder, maxrecs, perpage, limit, targets, targetfilter); +team.queue(eventName) +team.name() +team.targetFiltered(targetId) +team.config() -- no reason to use this. +team.log(string) +team.newSearch(query, sortOrder, maxrecs, perpage, limit, targets, targetfilter) team.totalRecordCount() team.perpage() team.currentPage(); -team.recordElementId(hit.recid[0]) +team.recordElementId(recordId) team.currentRecordId() team.currentRecordData() -team.renderDetails() -team.loadTemplate() +team.renderDetails(recordData) +team.loadTemplate(templateName) team.filters() -team.set_sortOrder() +team.set_sortOrder(string) team.submitted() team.resetPage() team.reShow() -team.set_perpage() +team.set_perpage(number)