Project getProjectByResourceId: Difference between revisions
From Catglobe Wiki
More actions
| No edit summary | No edit summary | ||
| Line 1: | Line 1: | ||
| [[Category:Project]] | [[Category:Project]] | ||
|  | {{HelpFiles}} | ||
| ====Project_getProjectByResourceId==== | ====Project_getProjectByResourceId==== | ||
Revision as of 09:20, 12 December 2011
Project_getProjectByResourceId
Get a project by its resource id. If no project is found with that id, empty will be returned.
Syntax
Project_getProjectByResourceId(projectResourceId)
Arguments
- projectResourceId: is a number expression. It is the project's resource id
Return value
An array, it is the project object, which has the same format as what generated by Project_new function
Example
array project = Project_getProjectByResourceId(17157302);
Availability
Version 5.6
