# jc-importer/2.7.1/class/Common/Importer/FileInterface.php

Import WP – CSV &amp; XML Import Export for WordPress, version 2.7.1. 52 lines.

- Page: https://pluginprobe.com/plugins/jc-importer/2.7.1/code/class/Common/Importer/FileInterface.php
- Raw: https://pluginprobe.com/plugins/jc-importer/2.7.1/raw/class/Common/Importer/FileInterface.php
- Modified: 2020-09-22T19:27:48+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/jc-importer/2.7.1/code/class/Common/Importer/FileInterface.php#L10-L20`.

```php
<?php

namespace ImportWP\Common\Importer;

interface FileInterface
{

    /**
     * Is there record next
     *
     * @return bool
     */
    public function hasNextRecord();

    /**
     * Is there record previous
     *
     * @return bool
     */
    public function hasPrevRecord();

    /**
     * Get next record
     *
     * @return array
     */
    public function getNextRecord();

    /**
     * Get record
     *
     * @param int $index
     *
     * @return string
     */
    public function getRecord($index = 0);

    /**
     * Get record count
     *
     * @return int
     */
    public function getRecordCount();

    /**
     * Get previous Record
     *
     * @return mixed
     */
    public function getPreviousRecord();
}

```
