1.20 kiriwrite_filter_edit

kiriwrite_filter_edit will edit a filter that is in the filter database. If no confirm value is given then a form will appear for editing a filter. If no filter identification number is given then an error is returned.

kiriwrite_filter_edit will return data that is intended for kiriwrite_output_page.

Parameters:

kiriwrite_filter_edit(filterid, newfilterfind, newfilterreplace, newfilterpriority, newfilternotes, confirm);

Usage:

$pagedata = kiriwrite_filter_edit(1); $pagedata = kiriwrite_filter_edit(1, "New filter find setting", "New filter replace setting", 1, "New filter notes", 1);

filterid
Specifies the filter identification number to edit. This is required every time the subroutine is called.

newfilterfind
Specifies the new find filter setting. This is required when editing the filter.

newfilterreplace
Specifies the new replace filter setting. This is required when editing the filter.

newfilterpriority
Specifies the new filter priority. This is required when editing the filter.

newfilternotes
Specifies the new filter notes. This is required when editing the filter.

confirm
Specifies if the action to edit a filter should be confirmed by passing a '1'.