Пример #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);
 }
Пример #2
0
 public function field_seek(ResultSet $results, $i)
 {
     return $results->fieldSeek($i);
 }