Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dataprocessor
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Extensions
dataprocessor
Commits
7fd79035
Commit
7fd79035
authored
5 years ago
by
jaapjansma
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' of lab.civicrm.org:extensions/dataprocessor
parents
f1959a16
b458e4f2
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Civi/DataProcessor/Factory.php
+1
-0
1 addition, 0 deletions
Civi/DataProcessor/Factory.php
Civi/DataProcessor/Source/Cases/CaseSource.php
+32
-0
32 additions, 0 deletions
Civi/DataProcessor/Source/Cases/CaseSource.php
with
33 additions
and
0 deletions
Civi/DataProcessor/Factory.php
+
1
−
0
View file @
7fd79035
...
...
@@ -108,6 +108,7 @@ class Factory {
$this
->
addDataSource
(
'phone'
,
'Civi\DataProcessor\Source\Contact\PhoneSource'
,
E
::
ts
(
'Phone'
));
$this
->
addDataSource
(
'website'
,
'Civi\DataProcessor\Source\Contact\WebsiteSource'
,
E
::
ts
(
'Website'
));
$this
->
addDataSource
(
'contribution'
,
'Civi\DataProcessor\Source\Contribution\ContributionSource'
,
E
::
ts
(
'Contribution'
));
$this
->
addDataSource
(
'case'
,
'Civi\DataProcessor\Source\Cases\CaseSource'
,
E
::
ts
(
'Case'
));
$this
->
addDataSource
(
'relationship'
,
'Civi\DataProcessor\Source\Contact\RelationshipSource'
,
E
::
ts
(
'Relationship'
));
$this
->
addDataSource
(
'relationship_type'
,
'Civi\DataProcessor\Source\Contact\RelationshipTypeSource'
,
E
::
ts
(
'Relationship Type'
));
$this
->
addDataSource
(
'event'
,
'Civi\DataProcessor\Source\Event\EventSource'
,
E
::
ts
(
'Event'
));
...
...
This diff is collapsed.
Click to expand it.
Civi/DataProcessor/Source/Cases/CaseSource.php
0 → 100644
+
32
−
0
View file @
7fd79035
<?php
/**
* @author Jaap Jansma <jaap.jansma@civicoop.org>
* @license AGPL-3.0
*/
namespace
Civi\DataProcessor\Source\Cases
;
use
Civi\DataProcessor\Source\AbstractCivicrmEntitySource
;
use
CRM_Dataprocessor_ExtensionUtil
as
E
;
class
CaseSource
extends
AbstractCivicrmEntitySource
{
/**
* Returns the entity name
*
* @return String
*/
protected
function
getEntity
()
{
return
'Case'
;
}
/**
* Returns the table name of this entity
*
* @return String
*/
protected
function
getTable
()
{
return
'civicrm_case'
;
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment