$media->isWritable()

Checks if the file is writable

  • return (boolean)

Example

<?php if($media->isWritable()): ?>
The file is writable
<?php endif ?>

Is something missing or incorrect? Edit this page on Github…