Toggle menu
875
3.8K
30.2K
279.1K
Catglobe Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Resource delete

From Catglobe Wiki
Revision as of 07:42, 10 October 2011 by Nguyentanphong (talk | contribs)

Resource_delete
  
   - Delete a resource.
    + User must have full access to that resource or error will return false if no access to child resources or problem with deleting.
    + And user must have nav access to the right xxx_delete also.

Syntax
    Resource_delete(ResourceID);


Arguments
   ResourceID: is a number.

Return type
    bool.
   + true if deleted and child resources deleted also.

Examples

bool RDelstatus =Resource_delete(37278397);
print(RDelstatus);