X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=CRM%2FCore%2FDAO%2FSystemLog.php;h=c1587e0bdd68d79e4c92ce7e5ceadb5825e82295;hb=a0741dc66a56012dca28350f8c1ddaad5ec03918;hp=dddf24d1d8be2ddb53f7e3fe5eb5e11851248ba8;hpb=d9e8af2b9acdd8b6b72290a137bd95a8d3b06e73;p=civicrm-core.git diff --git a/CRM/Core/DAO/SystemLog.php b/CRM/Core/DAO/SystemLog.php index dddf24d1d8..c1587e0bdd 100644 --- a/CRM/Core/DAO/SystemLog.php +++ b/CRM/Core/DAO/SystemLog.php @@ -6,7 +6,7 @@ * * Generated from xml/schema/CRM/Core/SystemLog.xml * DO NOT EDIT. Generated by CRM_Core_CodeGen - * (GenCodeChecksum:edcf9c070365c92afa56f7f3fe79acee) + * (GenCodeChecksum:a2276bcf3bb39a3947bf54b043fa0a05) */ /** @@ -19,19 +19,19 @@ class CRM_Core_DAO_SystemLog extends CRM_Core_DAO { * * @var string */ - static $_tableName = 'civicrm_system_log'; + public static $_tableName = 'civicrm_system_log'; /** * Should CiviCRM log any modifications to this table in the civicrm_log table. * * @var bool */ - static $_log = FALSE; + public static $_log = FALSE; /** * Primary key ID * - * @var int unsigned + * @var int */ public $id; @@ -66,7 +66,7 @@ class CRM_Core_DAO_SystemLog extends CRM_Core_DAO { /** * Optional Contact ID that created the log. Not an FK as we keep this regardless * - * @var int unsigned + * @var int */ public $contact_id; @@ -99,6 +99,7 @@ class CRM_Core_DAO_SystemLog extends CRM_Core_DAO { 'title' => ts('System Log ID'), 'description' => ts('Primary key ID'), 'required' => TRUE, + 'where' => 'civicrm_system_log.id', 'table_name' => 'civicrm_system_log', 'entity' => 'SystemLog', 'bao' => 'CRM_Core_DAO_SystemLog', @@ -112,6 +113,7 @@ class CRM_Core_DAO_SystemLog extends CRM_Core_DAO { 'required' => TRUE, 'maxlength' => 128, 'size' => CRM_Utils_Type::HUGE, + 'where' => 'civicrm_system_log.message', 'table_name' => 'civicrm_system_log', 'entity' => 'SystemLog', 'bao' => 'CRM_Core_DAO_SystemLog', @@ -122,6 +124,7 @@ class CRM_Core_DAO_SystemLog extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_LONGTEXT, 'title' => ts('Detailed Log Data'), 'description' => ts('JSON encoded data'), + 'where' => 'civicrm_system_log.context', 'table_name' => 'civicrm_system_log', 'entity' => 'SystemLog', 'bao' => 'CRM_Core_DAO_SystemLog', @@ -134,6 +137,7 @@ class CRM_Core_DAO_SystemLog extends CRM_Core_DAO { 'description' => ts('error level per PSR3'), 'maxlength' => 9, 'size' => CRM_Utils_Type::TWELVE, + 'where' => 'civicrm_system_log.level', 'default' => 'info', 'table_name' => 'civicrm_system_log', 'entity' => 'SystemLog', @@ -145,6 +149,7 @@ class CRM_Core_DAO_SystemLog extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_TIMESTAMP, 'title' => ts('Log Timestamp'), 'description' => ts('Timestamp of when event occurred.'), + 'where' => 'civicrm_system_log.timestamp', 'default' => 'CURRENT_TIMESTAMP', 'table_name' => 'civicrm_system_log', 'entity' => 'SystemLog', @@ -156,6 +161,7 @@ class CRM_Core_DAO_SystemLog extends CRM_Core_DAO { 'type' => CRM_Utils_Type::T_INT, 'title' => ts('Log Contact ID'), 'description' => ts('Optional Contact ID that created the log. Not an FK as we keep this regardless'), + 'where' => 'civicrm_system_log.contact_id', 'table_name' => 'civicrm_system_log', 'entity' => 'SystemLog', 'bao' => 'CRM_Core_DAO_SystemLog', @@ -168,6 +174,7 @@ class CRM_Core_DAO_SystemLog extends CRM_Core_DAO { 'description' => ts('Optional Name of logging host'), 'maxlength' => 128, 'size' => CRM_Utils_Type::HUGE, + 'where' => 'civicrm_system_log.hostname', 'table_name' => 'civicrm_system_log', 'entity' => 'SystemLog', 'bao' => 'CRM_Core_DAO_SystemLog',