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

Resource delete: Difference between revisions

From Catglobe Wiki
Nguyentanphong (talk | contribs)
No edit summary
Nguyentanphong (talk | contribs)
No edit summary
Line 1: Line 1:
'''Resource_delete'''  
'''Resource_delete''' <br>&nbsp; &nbsp;&nbsp; Delete a resource.<br> &nbsp;&nbsp; - User must have full access to that resource or error will return false if no access to child resources or problem with deleting.<br> &nbsp;&nbsp; - And user must have nav access to the right xxx_delete also.


Delete a resource.
'''Syntax'''


- User must have full access to that resource or error will return false if no access to child resources or problem with deleting.
'''&nbsp;'''&nbsp;'''&nbsp;''' Resource_delete(ResourceID);  
 
- And user must have nav access to the right xxx_delete also.
 
'''Syntax&nbsp;'''  
 
'''&nbsp; Resource_delete(ResourceID);'''


<br> '''Arguments''' <br>ResourceID: is a number. <br>  
<br> '''Arguments''' <br>ResourceID: is a number. <br>  


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


'''Examples'''  
'''Examples'''  
Line 24: Line 14:


print(RDelstatus);  
print(RDelstatus);  


[[Category:Resource_Functions]]
[[Category:Resource_Functions]]

Revision as of 07:35, 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);