Exemple #1
0
 public function testFieldSeek()
 {
     $results = new ResultSet(self::$columns, self::$entries);
     $success = $results->fieldSeek(2);
     $this->assertTrue($success !== false);
     $field = $results->fetchField();
     $this->assertEquals(self::$columns[2], $field->name);
 }
Exemple #2
0
 public function field_seek(ResultSet $results, $i)
 {
     return $results->fieldSeek($i);
 }