<?php /* vim: set expandtab sw=4 ts=4 sts=4: */ /** * This class extends ShapeFile class to cater the following phpMyAdmin * specific requirements. * * @package PhpMyAdmin-Import * @subpackage ESRI_Shape */ namespace PhpMyAdmin\Plugins\Import; use PhpMyAdmin\ShapeFile\ShapeFile; /** * ShapeFileImport class * * @package PhpMyAdmin */ class ShapeFileImport extends ShapeFile { /** * Reads given number of bytes from SHP file * * @param int $bytes number of bytes * * @return string|false */ public function readSHP($bytes) { return ImportShp::readFromBuffer($bytes); } /** * Checks whether file is at EOF * * @return bool */ public function eofSHP() { global $eof; return $eof; } }
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
Upload | Folder | 0755 |
|
|
AbstractImportCsv.php | File | 2.93 KB | 0644 |
|
ImportCsv.php | File | 26.25 KB | 0644 |
|
ImportLdi.php | File | 5.06 KB | 0644 |
|
ImportMediawiki.php | File | 21.08 KB | 0644 |
|
ImportOds.php | File | 13.52 KB | 0644 |
|
ImportShp.php | File | 9.94 KB | 0644 |
|
ImportSql.php | File | 6.02 KB | 0644 |
|
ImportXml.php | File | 10.58 KB | 0644 |
|
README | File | 4.43 KB | 0644 |
|
ShapeFileImport.php | File | 805 B | 0644 |
|