You are here

CiviCrmDaoStubs.php in CiviCRM Entity 8.3

File

tests/src/CiviCrmDaoStubs.php
View source
<?php

// @codingStandardsIgnoreFile

/**
 * Database access object for the Contact entity.
 */
class CRM_Contact_DAO_Contact {

  /**
   * Static instance to hold the table name.
   *
   * @var string
   */
  public static $_tableName = 'civicrm_contact';

  /**
   * Returns the names of this table
   *
   * @return string
   */
  public static function getTableName() {
    return self::$_tableName;
  }

}

/**
 * Database access object for the LocBlock entity.
 */
class CRM_Core_DAO_LocBlock {

  /**
   * Static instance to hold the table name.
   *
   * @var string
   */
  public static $_tableName = 'civicrm_loc_block';

  /**
   * Returns the names of this table
   *
   * @return string
   */
  public static function getTableName() {
    return self::$_tableName;
  }

}

/**
 * Database access object for the MessageTemplate entity.
 */
class CRM_Core_DAO_MessageTemplate {

  /**
   * Static instance to hold the table name.
   *
   * @var string
   */
  public static $_tableName = 'civicrm_msg_template';

  /**
   * Returns the names of this table
   *
   * @return string
   */
  public static function getTableName() {
    return self::$_tableName;
  }

}

/**
 * Database access object for the Campaign entity.
 */
class CRM_Campaign_DAO_Campaign {

  /**
   * Static instance to hold the table name.
   *
   * @var string
   */
  public static $_tableName = 'civicrm_campaign';

  /**
   * Returns the names of this table
   *
   * @return string
   */
  public static function getTableName() {
    return self::$_tableName;
  }

}

/**
 * Database access object for the RuleGroup entity.
 */
class CRM_Dedupe_DAO_RuleGroup {

  /**
   * Static instance to hold the table name.
   *
   * @var string
   */
  public static $_tableName = 'civicrm_dedupe_rule_group';

  /**
   * Returns the names of this table
   *
   * @return string
   */
  public static function getTableName() {
    return self::$_tableName;
  }

}

/**
 * Database access object for the County entity.
 */
class CRM_Core_DAO_County {

  /**
   * Static instance to hold the table name.
   *
   * @var string
   */
  public static $_tableName = 'civicrm_county';

  /**
   * Returns the names of this table
   *
   * @return string
   */
  public static function getTableName() {
    return self::$_tableName;
  }

}

/**
 * Database access object for the StateProvince entity.
 */
class CRM_Core_DAO_StateProvince {

  /**
   * Static instance to hold the table name.
   *
   * @var string
   */
  public static $_tableName = 'civicrm_state_province';

  /**
   * Returns the names of this table
   *
   * @return string
   */
  public static function getTableName() {
    return self::$_tableName;
  }

}

/**
 * Database access object for the Country entity.
 */
class CRM_Core_DAO_Country {

  /**
   * Static instance to hold the table name.
   *
   * @var string
   */
  public static $_tableName = 'civicrm_country';

  /**
   * Returns the names of this table
   *
   * @return string
   */
  public static function getTableName() {
    return self::$_tableName;
  }

}

/**
 * Database access object for the Address entity.
 */
class CRM_Core_DAO_Address {

  /**
   * Static instance to hold the table name.
   *
   * @var string
   */
  public static $_tableName = 'civicrm_address';

  /**
   * Returns the names of this table
   *
   * @return string
   */
  public static function getTableName() {
    return self::$_tableName;
  }

}

Classes

Namesort descending Description
CRM_Campaign_DAO_Campaign Database access object for the Campaign entity.
CRM_Contact_DAO_Contact Database access object for the Contact entity.
CRM_Core_DAO_Address Database access object for the Address entity.
CRM_Core_DAO_Country Database access object for the Country entity.
CRM_Core_DAO_County Database access object for the County entity.
CRM_Core_DAO_LocBlock Database access object for the LocBlock entity.
CRM_Core_DAO_MessageTemplate Database access object for the MessageTemplate entity.
CRM_Core_DAO_StateProvince Database access object for the StateProvince entity.
CRM_Dedupe_DAO_RuleGroup Database access object for the RuleGroup entity.