예제 #1
0
파일: PriceSet.php 프로젝트: kidaa30/yes
 /**
  * Returns foreign keys and entity references
  *
  * @return array
  *   [CRM_Core_Reference_Interface]
  */
 static function getReferenceColumns()
 {
     if (!self::$_links) {
         self::$_links = static::createReferenceColumns(__CLASS__);
         self::$_links[] = new CRM_Core_Reference_Basic(self::getTableName(), 'domain_id', 'civicrm_domain', 'id');
         self::$_links[] = new CRM_Core_Reference_Basic(self::getTableName(), 'financial_type_id', 'civicrm_financial_type', 'id');
     }
     return self::$_links;
 }
예제 #2
0
파일: PriceSet.php 프로젝트: hguru/224Civi
 /**
  * return foreign keys and entity references
  *
  * @static
  * @access public
  * @return array of CRM_Core_EntityReference
  */
 static function getReferenceColumns()
 {
     if (!self::$_links) {
         self::$_links = array(new CRM_Core_EntityReference(self::getTableName(), 'domain_id', 'civicrm_domain', 'id'), new CRM_Core_EntityReference(self::getTableName(), 'financial_type_id', 'civicrm_financial_type', 'id'));
     }
     return self::$_links;
 }