Project getProjectByResourceId: Difference between revisions
From Catglobe Wiki
More actions
|  jrfconvert import | No edit summary | ||
| Line 1: | Line 1: | ||
| [[Category: | [[Category:Project]] | ||
|  |  | ||
Revision as of 07:03, 22 March 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
