SF.net SVN: postfixadmin: [179] trunk/functions.inc.php
Brought to you by:
christian_boltz,
gingerdog
From: <Gin...@us...> - 2007-11-03 19:03:41
|
Revision: 179 http://postfixadmin.svn.sourceforge.net/postfixadmin/?rev=179&view=rev Author: GingerDog Date: 2007-11-03 12:03:43 -0700 (Sat, 03 Nov 2007) Log Message: ----------- functions.inc.php: change doc block formatting Modified Paths: -------------- trunk/functions.inc.php Modified: trunk/functions.inc.php =================================================================== --- trunk/functions.inc.php 2007-11-03 18:46:32 UTC (rev 178) +++ trunk/functions.inc.php 2007-11-03 19:03:43 UTC (rev 179) @@ -1526,11 +1526,13 @@ } -// -// 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 @@ -// -// 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) { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |