Lines Matching defs:ns
21 public function tpl_filelisting($print = true, $ns = NULL) {
25 if (is_null($ns)) $ns = getNS($INFO['id']);
27 if ($ns == false) {
28 $ns = ':';
31 $ns_string = $ns;
42 $ret = '<div class="plugin__filelisting" data-namespace="' . $ns . '">';
75 $rowElements = $this->getFilesRows($ns);
107 * @param string $ns
112 public function getFilesRows($ns, $lvl=0, $filesOnly = false) {
113 $files = $this->getFiles($ns);
119 //empty $ns means root
120 $trOpen = new \dokuwiki\Form\TagOpenElement('tr', array('data-childOf' => $ns));
168 * @param $ns
171 public function getFiles($ns) {
174 $ns = cleanId($ns);
176 $dir = utf8_encodeFN(str_replace(':','/',$ns));