From 55e52daf6824d8926891606cce49e7f56251c32a Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Wed, 9 Apr 2014 15:28:07 +0100 Subject: [PATCH] Add parameters to all team methods. --- doc/mkws-developer.txt | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) 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) -- 1.7.10.4