-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathexample.php
More file actions
33 lines (26 loc) · 778 Bytes
/
example.php
File metadata and controls
33 lines (26 loc) · 778 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?php
include './ISIS/Exception/ExtractDataNVFBASEException.php';
include './ISIS/Exception/LoaderFileReadException.php';
include './ISIS/Exception/LoaderFileRequirementException.php';
include './ISIS/Exception/LoaderPathException.php';
include './ISIS/Database/Extract.php';
include './ISIS/Database/Loader.php';
/**
*
* $loader = new ISIS\Database\Loader('./Data/isis');
* $database = $loader->extract();
*/
/**
* $loader = new ISIS\Database\Loader('./Data/isis');
* $database = new \ISIS\Database\Extract($loader);
*/
$database = new \ISIS\Database\Extract('./Data/isis');
foreach ($database as $record){
var_dump($record);
}
$mfn = 2;
/**
* Yo can also access to record using;
*/
// var_dump( $database->fetch($mfn));
?>