[ Index ]

PHP Cross Reference of MantisBT

title

Body

[close]

/api/soap/ -> mc_project_attachment_api.php (summary)

(no description)

File Size: 82 lines (4 kb)
Included or required: 1 time
Referenced: 0 times
Includes or requires: 0 files

Defines 3 functions

  mc_project_attachment_get()
  mc_project_attachment_add()
  mc_project_attachment_delete()

Functions
Functions that are not part of a class:

mc_project_attachment_get( $p_username, $p_password, $p_project_attachment_id )   X-Ref
Get the project attachment with the specified id.

param: string $p_username  The name of the user trying to access the filters.
param: string $p_password  The password of the user.
param: integer $p_attachment_id  The id of the attachment to be retrieved.
return: Base64 encoded data that represents the attachment.

mc_project_attachment_add( $p_username, $p_password, $p_project_id, $p_name, $p_title, $p_description, $p_file_type, $p_content )   X-Ref
Add an attachment to an existing project.

param: string $p_username  The name of the user trying to add an attachment to an issue.
param: string $p_password  The password of the user.
param: integer $p_project_id  The id of the project to add the attachment to.
param: string $p_name  The name of the file.
param: string $p_title  The title for the attachment.
param: string $p_description  The description for the attachment.
param: string $p_file_type The mime type of the file.
param: base64Binary $p_content  The attachment to add.
return: integer The id of the added attachment.

mc_project_attachment_delete( $p_username, $p_password, $p_project_attachment_id )   X-Ref
Delete a project attachment given its id.

param: string $p_username  The name of the user trying to add an attachment to an issue.
param: string $p_password  The password of the user.
param: integer $p_project_attachment_id  The id of the attachment to be deleted.
return: true: success, false: failure



Generated: Thu Jul 28 15:48:31 2011 Cross-referenced by PHPXref 0.7