Page 1 of 1

How to get the current project name

Posted: 25 Mar 2011, 16:01
by EBAH
Hi,
I was wondering how is it possible to get project name instead of the project id.
From helper_api.php the helper_get_current_project() function returns project ID (the same in the mantis_project_table).
Is there a function similar to helper_get_current_project() or should I just query the db to get prj name?
What's best practice?

Thanks,
Evan

Re: How to get the current project name

Posted: 30 Mar 2011, 15:24
by atrol
You can use project_get_name ( $project_id )

Re: How to get the current project name

Posted: 09 May 2011, 10:14
by EBAH
Thank you atrol!!!