This chapter describes the methods that can be used to get information about the activeCollab installation you are communicating with. These are contained in class ActiveCollab. Methods can be called directly (as static methods) or through an object.

1. getVersion

Description:

array getVersion( void ) - Return API Version

Return Value:

Array containing the information about API

2. listProjects

Description:

array listProjects( void ) - List all Projects

Return Value:

Array containing the objects of Projects

3. listProjectsGroups

Description:

array listProjectsGroups( void ) - List all available project groups

Return Value:

Array containing the objects of Project groups

4. listTicketCategoriesByProjectId

Description:

array listTicketCategoriesByProjectId( int $project_id ) - List ticket categories in one project

Parameters:

project_id - id value of the project

Return Value:

Array containing the objects of Ticket categories

5. listDiscussionCategoriesByProjectId

Description:

array listDiscussionCategoriesByProjectId( int $project_id ) - List discussion categories in one project

Parameters:

project_id - id value of the project

Return Value:

Array containing the objects of Discussion categories

6. listFileCategoriesByProjectId

Description:

array listFileCategoriesByProjectId( int $project_id ) - List file categories in one project

Parameters:

project_id - id value of the project

Return Value:

Array containing the objects of File categories

7. listPageCategoriesByProjectId

Description:

array listPageCategoriesByProjectId( int $project_id ) - List page categories in one project

Parameters:

project_id - id value of the project

Return Value:

Array containing the objects of Page categories

8. listTicketsByCategoryId

Description:

array listTicketsByCategoryId( int $project_id, int $category_id ) - List all tickets for a specific project and category

Parameters:

project_id - id value of the project category_id - id value of the category

Return Value:

Array of ActiveCollabTicket objects

9. listFilesByCategoryId

Description:

array listFilesByCategoryId( int $project_id, int $category_id ) - List all files for a specific project and category

Parameters:

project_id - id value of the project category_id - id value of the category

Return Value:

Array of ActiveCollabFile objects

10. listPagesByCategoryId

Description:

array listPagesByCategoryId( int $project_id, int $category_id ) - List all pages for a specific project and category

Parameters:

project_id - id value of the project category_id - id value of the category

Return Value:

Array of ActiveCollabPage objects

11. listDiscussionsByCategoryId

Description:

array listDiscussionsByCategoryId( int $project_id, int $category_id ) - List all discussions for a specific project and category

Parameters:

project_id - id value of the project category_id - id value of the category

Return Value:

Array of ActiveCollabDiscussion objects

12. listSystemRoles

Description:

array listSystemRoles( void ) - List all system roles

Return Value:

Array containing the system roles

13. listProjectRoles

Description:

array listProjectRoles( void ) - List all project roles

Return Value:

Array containing the project roles

14. findRoleDetailsById

Description:

array findRoleDetailsById( int $role_id ) - List role details

Parameters:

role_id - id of the role

Return Value:

Array containing the information about the role

15. listCompanies

Description:

array listCompanies( void ) - List all companies

Return Value:

Array of ActiveCollabCompany objects

16. listStatusMessages

Description:

array listStatusMessages( void ) - List all status messages

Return Value:

Array of ActiveCollabStatusMessage objects

17. listStatusMessagesByUserId

Description:

array listStatusMessagesByUserId( int $user_id ) - List all status messages created by specific user

Parameters:

user_id - id of a user

Return Value:

Array of ActiveCollabStatusMessage objects

18. listPeopleByProjectId

Description:

array listPeopleByProjectId( int $project_id ) - List all people involved with a project and their permissions

Parameters:

project_id - id of a project

Return Value:

Array of ActiveCollabUser objects

19. listTicketsByProjectId

Description:

array listTicketsByProjectId( int $project_id ) - List all tickets for a specific project

Parameters:

project_id - id of a project

Return Value:

Array of ActiveCollabTicket objects

20. listArchivedTicketsByProjectId

Description:

array listArchivedTicketsByProjectId( int $project_id ) - List all archived tickets for a specific project

Parameters:

project_id - id of a project

Return Value:

Array of ActiveCollabTicket objects

21. listFilesByProjectId

Description:

array listFilesByProjectId( int $project_id ) - List all files for a specific project

Parameters:

project_id - id of a project

Return Value:

Array of ActiveCollabFile objects

22. listDiscussionsByProjectId

Description:

array listDiscussionsByProjectId( int $project_id ) - List all discussions for a specific project

Parameters:

project_id - id of a project

Return Value:

Array of ActiveCollabDiscussion objects

23. listMilestonesByProjectId

Description:

array listMilestonesByProjectId( int $project_id ) - List all milestones for a specific project

Parameters:

project_id - id of a project

Return Value:

Array of ActiveCollabMilestone objects

24. listChecklistsByProjectId

Description:

array listChecklistsByProjectId( int $project_id ) - List all checklists for a specific project

Parameters:

project_id - id of a project

Return Value:

Array of ActiveCollabChecklist objects

25. listArchivedChecklistsByProjectId

Description:

array listArchivedChecklistsByProjectId( int $project_id ) - List all archived checklists for a specific project

Parameters:

project_id - id of a project

Return Value:

Array of ActiveCollabChecklists objects

26. listTimeRecordsByProjectId

Description:

array listTimeRecordsByProjectId( int $project_id ) - List all time records for a specific project

Parameters:

project_id - id of a project

Return Value:

Array of ActiveCollabTime objects