Resource delete: Difference between revisions
From Catglobe Wiki
More actions
Created page with "'''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. ..." Â |
No edit summary |
||
| Line 7: | Line 7: | ||
- And user must have nav access to the right xxx_delete also. Â | - And user must have nav access to the right xxx_delete also. Â | ||
'''Syntax ''' Â | '''Syntax ''' Â | ||
''' Resource_delete(ResourceID);''' | |||
<br> '''Arguments''' Â | <br> '''Arguments''' <br>ResourceID: is a number. <br> | ||
 | |||
'''Return type''' Â | '''Return type''' Â | ||
bool. Â | |||
+ true if deleted and child resources deleted also. Â | |||
'''Examples''' Â | '''Examples''' Â | ||
| Line 26: | Line 24: | ||
print(RDelstatus); Â | print(RDelstatus); Â | ||
[[Category:Resource_Functions]] | [[Category:Resource_Functions]] | ||
Revision as of 07:32, 10 October 2011
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);