2012-02-06 Hirofumi Kosaka <kosaka@rworks.jp>

* include/functions_api.php: Merged from 4.0. Add a missing
	description of get_alert_template() in its leading comment.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5488 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
hkosaka 2012-02-06 05:53:39 +00:00
parent ac64e51233
commit dcf57e43e4
2 changed files with 18 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2012-02-06 Hirofumi Kosaka <kosaka@rworks.jp>
* include/functions_api.php: Merged from 4.0. Add a missing
description of get_alert_template() in its leading comment.
2012-02-03 Miguel de Dios <miguel.dedios@artica.es>
* pandoradb.sql, extras/pandoradb_migrate_4.0.x_to_4.1.mysql.sql: change the

View File

@ -2209,6 +2209,19 @@ function set_delete_alert_template($id_template, $thrash1, $other, $thrash3) {
}
}
/**
* Get an alert tamplate, and print the result like a csv.
*
* @param string $id_template Id of the template to get.
* @param $thrash1 Don't use.
* @param array $other Don't use
*
* example:
*
* api.php?op=get&op2=alert_template&id=25
*
* @param $thrash3 Don't use
*/
function get_alert_template($id_template, $thrash1, $other, $thrash3) {
$filter_templates = false;