Lines Matching refs:get

54         $this->assertNotSame('foobar', $INPUT->get->str('zstring'));
55 $this->assertSame('foobar', $INPUT->get->filter()->str('zstring'));
56 $this->assertSame('bar', $INPUT->get->filter($filter)->str('foo'));
57 $this->assertSame('bar', $INPUT->get->filter()->str('znull', 'bar', true));
58 …$this->assertNotSame('foobar', $INPUT->get->str('zstring')); // make sure original input is unmodi…
99 $this->assertSame('foo', $INPUT->get->str('string'));
100 $this->assertSame('', $INPUT->get->str('none'));
101 $this->assertSame('', $INPUT->get->str('empty'));
102 $this->assertSame('foo', $INPUT->get->str('none', 'foo'));
103 $this->assertSame('', $INPUT->get->str('empty', 'foo'));
104 $this->assertSame('foo', $INPUT->get->str('empty', 'foo', true));
106 $this->assertSame(false, $INPUT->get->str('post', false));
107 $this->assertSame('1', $INPUT->get->str('get', false));
147 $this->assertSame(false, $INPUT->get->int('post', false));
148 $this->assertSame(1, $INPUT->get->int('get', false));
186 $this->assertSame(array('foo', 'bar'), $INPUT->get->arr('array'));
187 $this->assertSame(array(), $INPUT->get->arr('none'));
188 $this->assertSame(array(), $INPUT->get->arr('empty'));
189 $this->assertSame(array(1, 2), $INPUT->get->arr('none', array(1, 2)));
190 $this->assertSame(array(), $INPUT->get->arr('emptya', array(1, 2)));
191 $this->assertSame(array(1, 2), $INPUT->get->arr('emptya', array(1, 2), true));
193 $this->assertSame(array(1, 2), $INPUT->get->arr('get', false));
194 $this->assertSame(false, $INPUT->get->arr('post', false));
251 $INPUT->get->set('test2','foo');