Stud.IP  6.0
index.php File Reference

Variables

if( $topFolder)(empty($controllerpath)) $show_downloads = Config::get()->DISPLAY_DOWNLOAD_COUNTER === 'always'
 
 $vue_breadcrumbs = []
 
 $folder = $topFolder
 
 do
 
 $vue_topFolder
 
if($vue_topFolder['description'] instanceof Flexi\Template$vue_files = []
 
foreach($topFolder->getFiles() as $file) $vue_folders = []
 
foreach($topFolder->getSubfolders() as $folder) $vue_topFolder ['buttons'] = '<span class="multibuttons">'
 
 $vue_topFolder ['buttons']
 
if($topFolder->isWritable($GLOBALS['user']->id)) if($topFolder->isReadable($GLOBALS['user']->id)) if($topFolder->isWritable($GLOBALS['user']->id)) $vue_topFolder ['buttons'] = '</span>'
 

Variable Documentation

◆ $folder

$folder = $topFolder

◆ $show_downloads

if ($topFolder) (empty( $controllerpath)) $show_downloads = Config::get()->DISPLAY_DOWNLOAD_COUNTER === 'always'

◆ $vue_breadcrumbs

$vue_breadcrumbs = []

◆ $vue_files

if ( $vue_topFolder[ 'description'] instanceof Flexi\Template) $vue_files = []

◆ $vue_folders

foreach ( $topFolder->getFiles() as $file) $vue_folders = []

◆ $vue_topFolder [1/4]

$vue_topFolder
Initial value:
= [
'description' => $topFolder->getDescriptionTemplate()
$topFolder
Definition: flat.php:11

◆ $vue_topFolder [2/4]

foreach ( $topFolder->getSubfolders() as $folder) $vue_topFolder[ 'buttons'] = '<span class="multibuttons">'

◆ $vue_topFolder [3/4]

$vue_topFolder[ 'buttons']
Initial value:
= Studip\Button::create(_('Herunterladen'), 'download', [
'data-activates-condition' => 'table.documents tr[data-permissions*=d] :checkbox:checked'
])
title _
Definition: likert_evaluation.php:102
static create($label=NULL, $trait=NULL, $attributes=[])
Definition: Interactable.php:111

◆ $vue_topFolder [4/4]

if ( $topFolder->isWritable( $GLOBALS[ 'user']->id)) if ( $topFolder->isReadable( $GLOBALS[ 'user']->id)) if ( $topFolder->isWritable( $GLOBALS[ 'user']->id)) $vue_topFolder[ 'buttons'] = '</span>'

◆ do

do
Initial value:
{
'folder_id' => $folder->getId(),
'name' => $folder->name
$vue_breadcrumbs
Definition: index.php:11
$folder
Definition: index.php:12