Documentation

Xml
in package
implements ImportInterface

Represents data loaded from or stored in XML format

Tags
copyright

Cloudrexx AG

author

Michael Ritter michael.ritter@cloudrexx.com

subpackage

lib_convert

Table of Contents

Interfaces

ImportInterface
Imports data from a specific format into an array

Methods

parseFile()  : void
Returns the content of a file

Methods

parseFile()

Returns the content of a file

public parseFile(Cx $cx, File $file, callable $callback[, int $limit = -1 ][, int $offset = -1 ][, array<string|int, mixed> $options = array() ]) : void
Parameters
$cx : Cx
$file : File

File instance to read data from

$callback : callable

Will be called for each row

$limit : int = -1

(optional) Limit the number of rows returned.

$offset : int = -1

(optional) Offset as of which entry limit is counted.

$options : array<string|int, mixed> = array()

(optional) Additional options specific to this importer

Tags
inheritdoc

        
On this page

Search results