Lines Matching defs:item
127 * Check if a media item is public (eg, external URL or readable by @ALL)
747 foreach ($data as $item) {
749 //FIXME old call: media_printfile($item,$auth,$jump);
750 $display = new DisplayRow($item);
751 $display->scrollIntoView($jump == $item->getID());
754 //FIXME old call: media_printfile_thumbs($item,$auth,$jump);
756 $display = new DisplayTile($item);
757 $display->scrollIntoView($jump == $item->getID());
940 * @param string $jump item id
961 * @param string $jump item id
1455 foreach ($evdata['data'] as $item) {
1457 // FIXME old call: media_printfile($item,$item['perm'],'',true);
1458 $display = new DisplayRow($item);
1462 // FIXME old call: media_printfile_thumbs($item,$item['perm'],false,true);
1463 $display = new DisplayTile($item);
1726 * Prints a media namespace tree item
1730 * @param array $item
1733 function media_nstree_item($item)
1736 $pos = strrpos($item['id'], ':');
1737 $label = substr($item['id'], $pos > 0 ? $pos + 1 : 0);
1738 if (empty($item['label'])) $item['label'] = $label;
1742 $ret .= '<a href="' . DOKU_BASE . 'lib/exe/mediamanager.php?ns=' . idfilter($item['id']) . '" class="idx_dir">';
1743 else $ret .= '<a href="' . media_managerURL(['ns' => idfilter($item['id'], false), 'tab_files' => 'files'])
1745 $ret .= $item['label'];
1753 * Prints a media namespace tree item opener
1757 * @param array $item
1760 function media_nstree_li($item)
1762 $class = 'media level' . $item['level'];
1763 if ($item['open']) {