PHP Classes

File: example.php

Recommend this page to a friend!
  Classes of Carlos Sosa   PHP CDS ISIS Database Extract   example.php   Download  
File: example.php
Role: Example script
Content type: text/plain
Description: Example script
Class: PHP CDS ISIS Database Extract
Open and extract bibliography from ISIS databases
Author: By
Last change: Update of example.php
Date: 5 months ago
Size: 778 bytes
 

Contents

Class file image Download
<?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));

?>