| 1 | <?php |
||
| 15 | class SocketDataSet |
||
| 16 | { |
||
| 17 | |||
| 18 | private $server = null; |
||
| 19 | private $colsep = null; |
||
| 20 | private $rowsep = null; |
||
| 21 | /** |
||
| 22 | * @var array |
||
| 23 | */ |
||
| 24 | private $fields = []; |
||
| 25 | private $port = null; |
||
| 26 | private $path = null; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * SocketDataSet constructor. |
||
| 30 | * @param string $server |
||
| 31 | * @param string $path |
||
| 32 | * @param string $rowsep |
||
| 33 | * @param string $colsep |
||
| 34 | * @param array $fieldnames |
||
| 35 | * @param int $port |
||
| 36 | */ |
||
| 37 | public function __construct($server, $path, $rowsep, $colsep, $fieldnames, $port = 80) |
||
| 46 | |||
| 47 | /** |
||
| 48 | * @return GenericIterator |
||
| 49 | * @throws DatasetException |
||
| 50 | */ |
||
| 51 | public function getIterator() |
||
| 69 | } |
||
| 70 |