Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-983

Implement APIs for File Class

    Details

    • Type: New Feature
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: None
    • Fix Version/s: 1.5
    • Component/s: None
    • Labels:
      None

      Description

      Implement, document and add test files for File class APIs.

      NOTE: APIs required for this are almost all the same as for Tags. (api/Tag.php)

      crm_create_file( ) - should take all existing properties as params
      crm_get_file( )
      crm_delete_file( ) - also deletes associated entity_file records
      crm_update_file( )

      crm_create_entity_file() - creates an entity_file record
      crm_get_files_by_entity( )
      crm_delete_entity_file()

        Attachments

          Activity

            People

            • Assignee:
              manish Manish Zope
              Reporter:
              dgg David Greenberg
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: