PHP Class XPSPL\Database

A database is a storage mechanism for arbitrary data. .. warning:: Judy is currently being experimented as a storage mechanism for performance improvements. To disable Judy support declare XPSPL_JUDY_SUPPORT false, otherwise support will be used if Judy is installed and enabled on the PHP installation.
Inheritance: extends Storage
显示文件 Open project: prggmr/xpspl

Public Methods

Method Description
__construct ( ) : void Constructs a new Database.
__toString ( ) : string Return a string representation of this database.
end ( ) : Node Access the last node in the database.
free ( ) Frees the database.

Method Details

__construct() public method

Constructs a new Database.
public __construct ( ) : void
return void

__toString() public method

Return a string representation of this database.
public __toString ( ) : string
return string

end() public method

Access the last node in the database.
public end ( ) : Node
return Node at end of database

free() public method

Frees the database.
public free ( )