API documentation :: Docs For Class arbitTrackerIssueFacade
Packages:Interfaces:Classes:
|
Tracker::Facade::arbitTrackerIssueFacadeInterface arbitTrackerIssueFacadeIssue facade defining all methods required to access issue related data in the backend. Issue facade defining all methods required to access issue related data in the backend.
Method Summary
MethodsattachFile
void
attachFile(
mixed
$id
, string
$fileName
, string
$mimeType
)
Attach file to issue Attach a file to the issue specified by its ID. given as a third parameter and should also be stored. Attach file to issue Attach a file to the issue specified by its ID. The files mime type is given as a third parameter and should also be stored. Parameters:
createIssue
mixed
createIssue(
int
$id
)
Create a new issue Create a new issue with the given ID. if there already is a issue with the given ID. Create a new issue Create a new issue with the given ID. An exception will be thrown if there already is a issue with the given ID. Parameters:
fetchIssuesPerMilestone
array
fetchIssuesPerMilestone(
)
Fetch issue per milestone Returns an array with the milestones as keys and an array of issues for that milestone. Fetch issue per milestone Returns an array with the milestones as keys and an array of issues for that milestone. getAffectedUsers
array
getAffectedUsers(
mixed
$id
)
Get affected users Get a list of users which relate to the current issue, either by having commented to, created is, or are assigned to the issue. Get affected users Get a list of users which relate to the current issue, either by having commented to, created is, or are assigned to the issue. Parameters:
getAllIssues
array
getAllIssues(
)
Get issue list Get an array with all issues currently available in the bug tracker. Get issue list Get an array with all issues currently available in the bug tracker. getFileContents
string
getFileContents(
mixed
$id
, string
$fileName
)
Get file contents Return the contents of the file specified by its storage file name. Get file contents Return the contents of the file specified by its storage file name. Parameters:
getIssueData
array
getIssueData(
mixed
$issue
)
Get issue data Get issue data Get the data of a given issue, the issue data contains of the following fields:
Parameters:
getIssueId
mixed
getIssueId(
int
$number
)
Get issue by its number Return the issue ID for the issue with the given number. Get issue by its number Return the issue ID for the issue with the given number. This might be done by a query to the backend, or an ID recalculation depending, if its is easy to calculate. Parameters:
getLastIssueNumber
int
getLastIssueNumber(
)
Return the last issue number Returns the highest issue currently in the database. Return the last issue number Returns the highest issue currently in the database. updateIssueData
void
updateIssueData(
int
$id
, array
$data
)
Update stored information for the given issue The array with the information to update may any number of the common keys, and only the given keys will be updated in the storage backend. Update stored information for the given issue The array with the information to update may any number of the common keys, and only the given keys will be updated in the storage backend. Parameters:
Documentation generated on Mon, 05 Apr 2010 14:02:00 +0200 by phpDocumentor 1.4.3
|