Skip to content
Snippets Groups Projects
ActivitySource.php 635 B
Newer Older
  • Learn to ignore specific revisions
  • <?php
    /**
     * @author Jaap Jansma <jaap.jansma@civicoop.org>
     * @license AGPL-3.0
     */
    
    namespace Civi\DataProcessor\Source\Activity;
    
    use Civi\DataProcessor\DataSpecification\DataSpecification;
    use Civi\DataProcessor\Source\AbstractCivicrmEntitySource;
    
    use CRM_Dataprocessor_ExtensionUtil as E;
    
    class ActivitySource extends AbstractCivicrmEntitySource {
    
      /**
       * Returns the entity name
       *
       * @return String
       */
      protected function getEntity() {
        return 'Activity';
      }
    
      /**
       * Returns the table name of this entity
       *
       * @return String
       */
      protected function getTable() {
        return 'civicrm_activity';
      }
    }