/**
  * Liefert die Kindelemente des Ordners / der Kategorie
  */
 function getChildren()
 {
     $dms = new dms();
     //Kategorien holen
     $dms->getKategorie($this->kategorie_kurzbz);
     $children = array();
     // Loop through the directory, and create objects for each node
     foreach ($dms->result as $row) {
         if ($dms->isBerechtigtKategorie($row->kategorie_kurzbz, $this->getUser())) {
             $children[] = $this->getChild($row->bezeichnung);
         }
     }
     if ($this->kategorie_kurzbz != '') {
         //Dokumente holen
         $dms->getDocuments($this->kategorie_kurzbz);
         foreach ($dms->result as $row) {
             if (!$dms->isLocked($row->dms_id) || $dms->isBerechtigt($row->dms_id, $this->getUser())) {
                 $children[] = $this->getChild($row->name);
             }
         }
     }
     return $children;
 }
                    echo '<option>150</option><option>200</option><option>500</option><option>1000</option><option>2000</option>';
                    break;
            }
        } else {
            echo '		<option>10</option><option selected>20</option><option>30</option>
		    					<option>40</option><option>50</option><option>60</option>
		    					<option>70</option><option>80</option><option>90</option>
		    					<option>100</option><option>150</option><option>200</option>
		    					<option>500</option><option>1000</option><option>2000</option>';
        }
        echo '
		    </select> Elemente pro Seite&nbsp;
		</form>';
    } else {
        $count = new dms();
        $count->getDocuments($kategorie_kurzbz);
        $anzahl = count($count->result);
        $dms->getDocuments($kategorie_kurzbz, $dpp, $page);
        if ($page != 0) {
            echo '<span style="float:left">' . $anzahl . ' Elemente gefunden</span><span style="float:right">Seite ' . $page . ' von <a href="' . $_SERVER['PHP_SELF'] . '?kategorie_kurzbz=' . $kategorie_kurzbz . '&page=';
            if (is_int($anzahl / $dpp)) {
                echo (int) ($anzahl / $dpp);
            } else {
                echo (int) ($anzahl / $dpp + 1);
            }
            echo '&dpp=' . $dpp . '">';
            if (is_int($anzahl / $dpp)) {
                echo (int) ($anzahl / $dpp) . '&nbsp;</a></span>';
            } else {
                echo (int) ($anzahl / $dpp + 1) . '&nbsp;</a></span>';
            }