Skip to content

Latest commit

 

History

History
62 lines (43 loc) · 1.77 KB

README.md

File metadata and controls

62 lines (43 loc) · 1.77 KB

acis-php

Overview

build status

The acis-php library provides tools for ACIS Web Services client applications. There is also a Python version.

Requirements

PHP 5.2 - 5.4

Installation

All the required files are in the acis directory, or a self-contained phar archive can be downloaded. The directory or the phar file must be visible in the PHP include path.

Usage

To use the library either acis/acis.php or acis.phar must be included.

require_once 'acis/acis.php'; 
require_once 'acis.phar'; 

The library uses PHP's DateTime class, which requires a time zone to be defined before the class is used.

date_default_timezone_set('UTC');  // DateTime exception without this

ACIS_RequestQueue is not part of the core library yet and requires a separate include:

require_once 'acis/queue.php'

The tutorial has examples of how to use the library.

Known Issues

  • ACIS_MultiStnDataResult will give the wrong dates when iterating over "groupby" results.
  • ACIS_GridDataResult cannot be used with image output.
  • ACIS_ReqeustQueue should be considered experimental.