mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-04 21:59:27 +00:00
36 lines
1.1 KiB
PHP
36 lines
1.1 KiB
PHP
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
|
|
|
|
// application's Users table - define your user table and columns here
|
|
|
|
define('USER_TABLE_TABLENAME', 'tbl_person p');
|
|
define('USER_TABLE_ID', 'p.person_id');
|
|
define('USER_TABLE_USERNAME', "CONCAT(p.vorname, ' ', p.nachname) as user_name");
|
|
|
|
|
|
// message statuses
|
|
define('MSG_STATUS_UNREAD', 0);
|
|
define('MSG_STATUS_READ', 1);
|
|
define('MSG_STATUS_ARCHIVED', 2);
|
|
|
|
// priority
|
|
define('PRIORITY_LOW', 1);
|
|
define('PRIORITY_NORMAL', 2);
|
|
define('PRIORITY_HIGH', 3);
|
|
define('PRIORITY_URGENT', 4);
|
|
|
|
// status return message codes
|
|
define('MSG_SUCCESS', 0);
|
|
define('MSG_ERR_GENERAL', 1);
|
|
define('MSG_ERR_INVALID_USER_ID', 2);
|
|
define('MSG_ERR_INVALID_MSG_ID', 3);
|
|
define('MSG_ERR_INVALID_THREAD_ID', 4);
|
|
define('MSG_ERR_INVALID_STATUS_ID', 5);
|
|
define('MSG_ERR_INVALID_SENDER_ID', 6);
|
|
define('MSG_ERR_INVALID_RECIPIENTS', 7);
|
|
define('MSG_MESSAGE_SENT', 8);
|
|
define('MSG_STATUS_UPDATE', 9);
|
|
define('MSG_PARTICIPANT_ADDED', 10);
|
|
define('MSG_ERR_PARTICIPANT_EXISTS', 11);
|
|
define('MSG_ERR_PARTICIPANT_NONSYSTEM', 12);
|
|
define('MSG_PARTICIPANT_REMOVED', 13);
|