Home
last modified time | relevance | path

Searched refs:pq (Results 1 – 8 of 8) sorted by relevance

/dokuwiki/_test/tests/Form/
H A DInputElementTest.php15 $pq = (new Document())->html($html);
17 $input = $pq->find('input[name=foo]');
22 $label = $pq->find('label');
38 $pq = (new Document())->html($html);
40 $input = $pq->find('input[name=foo]');
53 $pq = (new Document())->html($html);
55 $input = $pq->find('input[name=foo]');
66 $pq = (new Document())->html($html);
68 $input = $pq->find('input[name=foo]');
73 $label = $pq->find('label');
H A DDropdownElementTest.php35 $pq = (new Document())->html($html);
37 $select = $pq->find('select[name=foo]');
40 $options = $pq->find('option');
43 $option = $pq->find('option[selected=selected]');
48 $label = $pq->find('label');
75 $pq = (new Document())->html($html);;
77 $select = $pq->find('select[name=foo]');
80 $options = $pq->find('option');
83 $option = $pq->find('option#theID');
125 $pq = (new Document())->html($html);
[all …]
H A DCheckableElementTest.php18 $pq = (new Document())->html($html);
20 $input = $pq->find('input[name=foo]');
23 $label = $pq->find('label');
26 $inputs = $pq->find('input[name=foo]');
47 $pq = (new Document())->html($html);
49 $inputs = $pq->find('input[name=foo]');
H A DFormTest.php25 $pq = (new Document())->html($html);
27 $this->assertTrue($pq->find('form')->hasClass('doku_form'));
28 …$this->assertEquals(wl($ID, array('foo' => 'bar'), false, '&'), $pq->find('form')->attr('action'));
29 $this->assertEquals('post', $pq->find('form')->attr('method'));
31 $this->assertTrue($pq->find('input[name=sectok]')->count() == 1);
H A DButtonElementTest.php17 $pq = (new Document())->html($html);
19 $input = $pq->find('button[name=foo]');
35 $pq = (new Document())->html($html);
37 $input = $pq->find('button[name=foo]');
/dokuwiki/_test/core/
H A DTestResponse.php17 protected $pq = null; variable in TestResponse
103 if(is_null($this->pq)) {
104 $this->pq = new Document();
105 $this->pq->html($this->content);
107 return $this->pq->find($selector);
H A DphpQuery-onefile.php837 $pq = phpQuery::getDocument($documentID);
839 $pq->find('*')->add($pq->document)
1356 $input = phpQuery::pq($input);
1675 $new->elements = phpQuery::pq($newStack, $this->getDocumentID())->stack();
2101 return pq($node)->not(":disabled") ? $node : null;
2132 return pq($node)->siblings()->size() == 0 ? $node : null;
2139 return pq($node)->prevAll()->size() == 0 ? $node : null;
2146 return pq($node)->nextAll()->size() == 0 ? $node : null;
2161 $index = pq($node)->prevAll()->size() + 1;
2174 $prevs = pq($node)->prevAll()->size();
[all …]
/dokuwiki/_test/tests/inc/
H A Dmedia_searchlist.test.php99 $pq = (new Document())->html($result);
101 $elements = $pq->find('a.mediafile');