Home
last modified time | relevance | path

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

/plugin/struct/_test/types/
H A DPageTest.php332 $this->assertTrue($page->filterMatch('foo:start', 'foo'));
333 $this->assertTrue($page->filterMatch('start#foo', 'foo'));
334 $this->assertFalse($page->filterMatch('ns:foo', ':foo'));
335 $this->assertTrue($page->filterMatch('foo-bar:start', 'foo-bar'));
336 $this->assertTrue($page->filterMatch('foo-bar:start-with_special.chars', 'foo-bar'));
337 $this->assertTrue($page->filterMatch('foo.bar:start', 'foo.bar'));
338 $this->assertTrue($page->filterMatch('ns:foo.bar', 'foo.bar'));
339 $this->assertTrue($page->filterMatch('ns:foo.bar:start', 'foo.bar'));
340 $this->assertFalse($page->filterMatch('ns:foo_bar:start', ':foo_bar'));
341 $this->assertTrue($page->filterMatch('8bar:start', '8bar'));
[all …]
/plugin/struct/types/
H A DPage.php90 if (!empty($filter) && !$this->filterMatch($id, $filter)) {
223 public function filterMatch($id, $filter) function in dokuwiki\\plugin\\struct\\types\\Page