Difference between revisions of "Mediamanager:deleteFile"

From GiderosMobile
(first attempt at creating methods for media plugin)
 
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
<languages />
+
'''Available since:''' Gideros 2016.1<br/>
'''<translate>Available since</translate>:''' Gideros 2016.1<br/>
+
'''Class:''' [[Media]]<br/>
'''<translate>Class</translate>:''' [[Special:MyLanguage/Media|Media]]<br/>
 
  
=== <translate>Description</translate> ===
+
=== Description ===
 
Deletes file at provided path.
 
Deletes file at provided path.
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
mediamanager:deleteFile(path)
 
mediamanager:deleteFile(path)
</source>
+
</syntaxhighlight>
  
=== <translate>Parameters</translate> ===
+
=== Parameters ===
'''path''': (string) <translate>the path of the file to delete</translate>
+
'''path''': (string) the path of the file to delete<br/>
  
<!-- {{Media}} -->
+
{{Media}}

Latest revision as of 14:30, 13 July 2023