예제 #1
0
 /**
  * Returns all the column names of this table
  *
  * @return array
  */
 static function &fields()
 {
     if (!self::$_fields) {
         self::$_fields = array('id' => array('name' => 'id', 'type' => CRM_Utils_Type::T_INT, 'description' => 'Unique case-activity association id', 'required' => true), 'case_id' => array('name' => 'case_id', 'type' => CRM_Utils_Type::T_INT, 'description' => 'Case ID of case-activity association.', 'required' => true, 'FKClassName' => 'CRM_Case_DAO_Case'), 'activity_id' => array('name' => 'activity_id', 'type' => CRM_Utils_Type::T_INT, 'description' => 'Activity ID of case-activity association.', 'required' => true, 'FKClassName' => 'CRM_Activity_DAO_Activity'));
     }
     return self::$_fields;
 }
예제 #2
0
 /**
  * returns all the column names of this table
  *
  * @access public
  * @return array
  */
 function &fields()
 {
     if (!self::$_fields) {
         self::$_fields = array('id' => array('name' => 'id', 'type' => CRM_Utils_Type::T_INT, 'required' => true), 'case_id' => array('name' => 'case_id', 'type' => CRM_Utils_Type::T_INT, 'required' => true, 'FKClassName' => 'CRM_Case_DAO_Case'), 'activity_id' => array('name' => 'activity_id', 'type' => CRM_Utils_Type::T_INT, 'required' => true, 'FKClassName' => 'CRM_Activity_DAO_Activity'));
     }
     return self::$_fields;
 }