projects
/
civicrm-core.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(dev/core#959) Expose contribution page in Contribution Summary report
[civicrm-core.git]
/
CRM
/
Core
/
DAO
/
Component.php
diff --git
a/CRM/Core/DAO/Component.php
b/CRM/Core/DAO/Component.php
index 61d59a73d0fc72fb858ec3c20b4a4cae2955432f..710c3b15936115cfb40428b6420060cabd843a91 100644
(file)
--- a/
CRM/Core/DAO/Component.php
+++ b/
CRM/Core/DAO/Component.php
@@
-19,14
+19,14
@@
class CRM_Core_DAO_Component extends CRM_Core_DAO {
*
* @var string
*/
*
* @var string
*/
- static $_tableName = 'civicrm_component';
+
public
static $_tableName = 'civicrm_component';
/**
* Should CiviCRM log any modifications to this table in the civicrm_log table.
*
* @var bool
*/
/**
* Should CiviCRM log any modifications to this table in the civicrm_log table.
*
* @var bool
*/
- static $_log = FALSE;
+
public
static $_log = FALSE;
/**
* Component ID
/**
* Component ID
@@
-72,6
+72,7
@@
class CRM_Core_DAO_Component extends CRM_Core_DAO {
'title' => ts('Component ID'),
'description' => ts('Component ID'),
'required' => TRUE,
'title' => ts('Component ID'),
'description' => ts('Component ID'),
'required' => TRUE,
+ 'where' => 'civicrm_component.id',
'table_name' => 'civicrm_component',
'entity' => 'Component',
'bao' => 'CRM_Core_DAO_Component',
'table_name' => 'civicrm_component',
'entity' => 'Component',
'bao' => 'CRM_Core_DAO_Component',
@@
-85,6
+86,7
@@
class CRM_Core_DAO_Component extends CRM_Core_DAO {
'required' => TRUE,
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
'required' => TRUE,
'maxlength' => 64,
'size' => CRM_Utils_Type::BIG,
+ 'where' => 'civicrm_component.name',
'table_name' => 'civicrm_component',
'entity' => 'Component',
'bao' => 'CRM_Core_DAO_Component',
'table_name' => 'civicrm_component',
'entity' => 'Component',
'bao' => 'CRM_Core_DAO_Component',
@@
-99,6
+101,7
@@
class CRM_Core_DAO_Component extends CRM_Core_DAO {
'),
'maxlength' => 128,
'size' => CRM_Utils_Type::HUGE,
'),
'maxlength' => 128,
'size' => CRM_Utils_Type::HUGE,
+ 'where' => 'civicrm_component.namespace',
'table_name' => 'civicrm_component',
'entity' => 'Component',
'bao' => 'CRM_Core_DAO_Component',
'table_name' => 'civicrm_component',
'entity' => 'Component',
'bao' => 'CRM_Core_DAO_Component',