yana

phpDocumentor v 1.4.0

Class FileDb

Description

simulate a database
this class simulates a sql-database on a flat-file
Example:
  1.  $db new FileDb('log');
  2.  print $db->get('log.*');
You might also want to see the factory function Yana::connect().
  • access: public
Object
   |
   --DbStream
      |
      --FileDb
Method Summary
Inherited Variables

Inherited from DbStream

Methods

constructor
FileDb FileDb (
[string $filename = ""]
)
List of parameters:
Name Type Description
$filename string name of the structure-file
Description:
Create a new instance of this class.
get table information
array getTableInfo (
string $table
)
List of parameters:
Name Type Description
$table string name of table
Description:
This function returns detailed information on a table and it's columns as an multidimensional, associative array.
See DbStream::getTableInfo() for an in depth introduction to this function.

Redefinition of: DbStream::getTableInfo()

inherited from base classes

Inherited From DbStream

Inherited From Object

Documentation generated on Sat, 03 Jan 2009 22:22:24 +0100 by phpDocumentor 1.4.0

yana author: Thomas MeyerHomepage: www.yanaframework.net