Project getProjectByResourceId

From Catglobe Wiki
Revision as of 10:09, 7 March 2011 by 127.0.0.1 (talk | contribs) (jrfconvert import)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search



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