Stud.IP  4.0
 All Data Structures Namespaces Files Functions Variables Groups
_fileref_tr.php File Reference

Variables

 $permissions = []
 
if($show_bulk_checkboxes)($file->
isDownloadable($GLOBALS['user']->
id))($file->getId())?>"
<? endif endifif ($file->
isDownloadable($GLOBALS['user']->
id)) ($file->getDownloadURL()) ?>
"target 
else
 
if($show_bulk_checkboxes)($file->
isDownloadable($GLOBALS['user']->
id))($file->getId())?>"
<? endif endifif ($file->
isDownloadable($GLOBALS['user']->
id)) ($file->getDownloadURL()) ?>
"target $topFolder 
range_type
 
if($show_bulk_checkboxes)($file->
isDownloadable($GLOBALS['user']->
id))($file->getId())?>"
<? endif endifif ($file->
isDownloadable($GLOBALS['user']->
id)) ($file->getDownloadURL()) ?>
"target $topFolder 
false
 

Variable Documentation

RESTAPI ConsumerPermissions $permissions = []
if($show_bulk_checkboxes) ($file->isDownloadable($GLOBALS['user']->id)) ($file->getId()) ?>" <? endif endifif ($file->isDownloadable($GLOBALS['user']->id)) ($file->getDownloadURL()) ?>" target $topFolder Icon::ROLE_INFO asImg (['title' => _('Das Herunterladen dieser Datei ist nur eingeschränkt möglich.')]) ?> <? endif ?> </td> <? $size if($size !== null) ($size, false) ?> <? endif ?> </td> <? if (!empty($show_downloads)) () ?> <td data-sort-value endif $author_nameif ($file->getUser() && $file->getUser()->id !== $GLOBALS['user']->id) ('dispatch.php/profile?username=' . $file->getUser()->username) ?>"> <? else
Initial value:
="_blank" rel="noopener noreferrer">
<?= $file->getIcon(Icon::ROLE_CLICKABLE)->asImg(24)
const ROLE_CLICKABLE
Definition: Icon.class.php:23
if($show_bulk_checkboxes) ($file->isDownloadable($GLOBALS['user']->id)) ($file->getId()) ?>" <? endif endifif ($file->isDownloadable($GLOBALS['user']->id)) ($file->getDownloadURL()) ?>" target $topFolder false
if($show_bulk_checkboxes) ($file->isDownloadable($GLOBALS['user']->id)) ($file->getId()) ?>" <? endif endifif ($file->isDownloadable($GLOBALS['user']->id)) ($file->getDownloadURL()) ?>" target $topFolder range_type