/** * 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; }
/** * 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; }