Lines Matching full:label
17 $element = $form->addDropdown('foo', $options, 'label text');
25 … $options = array('first' => 'A first Label', 'second' => 'The second Label', 'third' => 'Just 3');
46 $this->assertEquals('A first Label', $option->text());
48 $label = $pq->find('label');
49 $this->assertTrue($label->count() == 1);
50 $this->assertEquals('label text', $label->find('span')->text());
59 'label' => 'the label',
68 'label' => 'the label of the complex third option',
72 $form->addDropdown('foo', $options, 'label text');
86 $this->assertEquals('the label', $option->text());
97 'first' => 'the label',
103 'label' => 'label of third option',
109 $dropdown = $form->addDropdown('foo', null, 'label text');
119 'first' => array('label' => 'the label'),
120 'second' => array('label' => 'second'),
135 $this->assertEquals('label of third option', $selected->text());
161 'double' => 'the label',
166 'label' => 'label of third option',
171 $dropdown = $form->addDropdown('foo', null, 'label text');
181 $this->assertEquals('the label', $selected->text());
193 … $options = array('first' => 'A first Label', 'second' => 'The second Label', 'third' => 'Just 3');
194 $element = $form->addDropdown('foo', $options, 'label text')->val('third');
203 $this->assertEquals('The second Label', $option->text());
210 … $options = array('first' => 'A first Label', 'second' => 'The second Label', 'third' => 'Just 3');
211 $element = $form->addDropdown('foo', $options, 'label text')->attr('multiple', '1');
222 $this->assertEquals('A first Label', $option->get(0)->textContent);