| GNU Affero General Public License or the licensing of CiviCRM, |
| see the CiviCRM license FAQ at http://civicrm.org/licensing |
+--------------------------------------------------------------------+
-*/
+ */
/**
*
}
/**
- * Add log to civicrm_log table
+ * Add log to civicrm_log table.
*
* @param array $params
* Array of name-value pairs of log table.
*
- * @static
*/
public static function add(&$params) {
* @param int $tableID
* @param int $userID
*/
- static function register(
+ public static function register(
$contactID,
$tableName,
$tableID,
}
/**
- * Get log record count for a Contact
+ * Get log record count for a Contact.
*
* @param int $contactID
*
* @return int
* count of log records
- * @static
*/
public static function getContactLogCount($contactID) {
$query = "SELECT count(*) FROM civicrm_log
}
/**
- * Function for find out whether to use logging schema entries for contact
+ * Function for find out whether to use logging schema entries for contact.
* summary, instead of normal log entries.
*
* @return int
* report id of Contact Logging Report (Summary) / false
- * @static
*/
public static function useLoggingReport() {
// first check if logging is enabled
return FALSE;
}
+
}