phpDocumentor MantisBT
[ class tree: MantisBT ] [ index: MantisBT ] [ all elements ]

Procedural File: mc_project_attachment_api.php

Source Location: /api/soap/mc_project_attachment_api.php

Page Details
Includes

Functions
mc_project_attachment_add  [line 40]

integer mc_project_attachment_add( string $p_username, string $p_password, integer $p_project_id, string $p_name, string $p_title, string $p_description, string $p_file_type, base64Binary $p_content  )

Add an attachment to an existing project.

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

API Tags:
Return:  The id of the added attachment.


[ Top ]
mc_project_attachment_delete  [line 67]

true: mc_project_attachment_delete( string $p_username, string $p_password, integer $p_project_attachment_id  )

Delete a project attachment given its id.

Parameters:
string   $p_username:  The name of the user trying to add an attachment to an issue.
string   $p_password:  The password of the user.
integer   $p_project_attachment_id:  The id of the attachment to be deleted.

API Tags:
Return:  success, false: failure


[ Top ]
mc_project_attachment_get  [line 19]

Base64 mc_project_attachment_get( string $p_username, string $p_password, $p_project_attachment_id, integer $p_attachment_id  )

Get the project attachment with the specified id.

Parameters:
string   $p_username:  The name of the user trying to access the filters.
string   $p_password:  The password of the user.
integer   $p_attachment_id:  The id of the attachment to be retrieved.
   $p_project_attachment_id: 

API Tags:
Return:  encoded data that represents the attachment.


[ Top ]


Documentation generated on Sun, 05 Apr 2009 23:01:26 +0100 by phpDocumentor 1.4.1