From f909eb53a2cda6360aa4b26314efa594d84832c0 Mon Sep 17 00:00:00 2001 From: David Goodwin Date: Sat, 3 Nov 2007 19:03:43 +0000 Subject: [PATCH] functions.inc.php: change doc block formatting git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@179 a1433add-5e2c-0410-b055-b7f2511e0802 --- functions.inc.php | 41 ++++++++++++++++++++--------------------- 1 file changed, 20 insertions(+), 21 deletions(-) diff --git a/functions.inc.php b/functions.inc.php index fd5cad7f..c5c1f8fc 100644 --- a/functions.inc.php +++ b/functions.inc.php @@ -1526,11 +1526,13 @@ function db_delete ($table,$where,$delete) } -// -// db_insert -// Action: Inserts a row from a specified table -// Call: db_insert (string table, array values) -// +/** + * db_insert + * Action: Inserts a row from a specified table + * Call: db_insert (string table, array values) + * @param String $table - table name + * @param array - key/value map of data to insert into the table. + */ function db_insert ($table, $values) { $sql_values = "(" . implode(",",escape_string(array_keys($values))).") VALUES ('".implode("','",escape_string($values))."')"; @@ -1549,22 +1551,19 @@ function db_insert ($table, $values) -// -// db_log -// Action: Logs actions from admin -// Call: db_log (string username, string domain, string action, string data) -/* - -Possible actions are: -'create_alias' -'delete_alias' -'delete_mailbox' -'edit_alias' -'edit_alias_state' -'edit_mailbox' -'edit_mailbox_state' -'edit_password' - +/** + * db_log + * Action: Logs actions from admin + * Call: db_log (string username, string domain, string action, string data) + * Possible actions are: + * 'create_alias' + * 'delete_alias' + * 'delete_mailbox' + * 'edit_alias' + * 'edit_alias_state' + * 'edit_mailbox' + * 'edit_mailbox_state' + * 'edit_password' */ function db_log ($username,$domain,$action,$data) {