Home
last modified time | relevance | path

Searched refs:namespace_list (Results 1 – 2 of 2) sorted by relevance

/plugin/publish/_test/
H A Dhelper.test.php43 public function test_in_namespace($namespace_list, $id, $result, $msg) { argument
47 $this->assertSame($helper->in_namespace($namespace_list,$id),$result,$msg);
76 public function test_in_sub_namespace($namespace_list, $id, $result, $msg) { argument
80 $this->assertSame($helper->is_dir_valid($namespace_list,$id),$result,$msg);
/plugin/publish/
H A Dhelper.php20 * @param string $namespace_list
25 function in_namespace($namespace_list, $id) { argument
28 $namespace_list = preg_split('/\s+/', $namespace_list);
30 … if((count($namespace_list)==1) and ($namespace_list[0]=="")) { return true; }//whole wiki matches
35 foreach($namespace_list as $namespace) {