PhpIsisDb Class Reference

Inheritance diagram for PhpIsisDb:
IsisDb

List of all members.

Public Member Functions

 __construct ($schema)
 read ($id)
 entries ()
 example ()
 tag ($results)
 charset (&$data)
 logger ($message)

Static Public Member Functions

static check ($schema, $section=NULL)

Public Attributes

 $db
 $format
 $log

Detailed Description

PHP-Isis implementation of IsisDb.

Warning:
This implementation is currently outdated and lacks basic functionalities such as subfield handling and therefore it's use is not recommended.

Constructor & Destructor Documentation

PhpIsisDb::__construct ( schema  ) 

Constructor.

See also:
IsisDb::__construct()

Implements IsisDb.


Member Function Documentation

PhpIsisDb::charset ( &$  data  ) 

Charset conversion.

Converts a string from the database charset to UTF-8.

Parameters:
$data String to be converted.
Returns:
String converted to UTF-8.
static PhpIsisDb::check ( schema,
section = NULL 
) [static]

Check configuration.

See also:
IsisDb::check()

Implements IsisDb.

PhpIsisDb::entries (  ) 

Return number of entries in the database.

See also:
IsisDb::entries()

Implements IsisDb.

PhpIsisDb::example (  ) 

Return an example schema.

See also:
IsisDb::example()

Implements IsisDb.

PhpIsisDb::logger ( message  ) 

Class logger.

Parameters:
$message Log message.
PhpIsisDb::read ( id  ) 

Read an entry.

The PHP-Isis API doen't implement such feature so we have to emulate it by geting all entries and using isis_data_seek() to get the desired record.

See also:
IsisDb::read()
Todo:
Subfield handling.

Implements IsisDb.

PhpIsisDb::tag ( results  ) 

Tag results of a db query.

This function converts the keys of query result from field numbers to names.

Parameters:
$results Database query results.
Returns:
Tagged database result.

Member Data Documentation

PhpIsisDb::$db

Database resource.

PhpIsisDb::$format

Database format, derived from $schema.

PhpIsisDb::$log

Class action log.


The documentation for this class was generated from the following file:
 All Classes Functions Variables
Generated on Thu Sep 2 12:20:43 2010 for Cinisis Database Reader by  doxygen 1.6.3