Project getProjectByResourceId

From Catglobe Wiki
Revision as of 08:03, 22 March 2011 by Cg pham (talk | contribs)
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