Lines Matching full:options
16 $options = array('first', 'second', 'third');
17 $element = $form->addDropdown('foo', $options, 'label text');
25 … $options = array('first' => 'A first Label', 'second' => 'The second Label', 'third' => 'Just 3');
26 $element->options($options);
40 $options = $pq->find('option');
41 $this->assertTrue($options->count() == 3);
57 $options = array(
72 $form->addDropdown('foo', $options, 'label text');
80 $options = $pq->find('option');
81 $this->assertEquals(3, $options->count());
121 ), $optGroups['opt1']->options());
130 $options = $pq->find('option');
131 $this->assertEquals(4, $options->count());
193 … $options = array('first' => 'A first Label', 'second' => 'The second Label', 'third' => 'Just 3');
194 $element = $form->addDropdown('foo', $options, 'label text')->val('third');
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');