You appear to be a bot. Output may be restricted
Description
Parse Parse a CSV file or string
Usage
$[bool] = parseCSV::parse( $input, $offset, $limit, $conditions );
Parameters
- $input
- ( mixed ) optional –
- $offset
- ( mixed ) optional –
- $limit
- ( mixed ) optional –
- $conditions
- ( mixed ) optional –
Returns
[bool]
Source
File name: easy-digital-downloads/includes/libraries/parsecsv.lib.php
Lines:
1 to 32 of 32
public function parse($input = null, $offset = null, $limit = null, $conditions = null) { if (is_null($input)) { $input = $this->file; } if (!empty($input)) { if (!is_null($offset)) { $this->offset = $offset; } if (!is_null($limit)) { $this->limit = $limit; } if (!is_null($conditions)) { $this->conditions = $conditions; } if (is_readable($input)) { $this->data = $this->parse_file($input); } else { $this->file_data = &$input; $this->data = $this->parse_string(); } if ($this->data === false) { return false; } } return true; }