Skip to main content Help Control Panel

Aubagne HipHop

Tout le Hip Hop d'Aubagne et des alentours

Home «   Server software «  

Documentation: included/php-pdb.php

included/php-pdb.php -

Copyright (C) 2001 - PHP-PDB development team Licensed under the GNU LGPL software license. See the doc/LEGAL file for more information See http://php-pdb.sourceforge.net/ for more information about the library

As a note, storing all of the information as hexadecimal kinda sucks, but it is tough to store and properly manipulate a binary string in PHP. We double the size of the data but decrease the difficulty level immensely.

This script is a reference file of this system.

Voir aussi:

Licence: GNU Lesser General Public License

class PalmDB

PalmDB()

function PalmDB($Type = '', $Creator = '', $Name = '')

Int8()

function Int8($value)

LoadInt8()

function LoadInt8($file)

Int16()

function Int16($value)

LoadInt16()

function LoadInt16($file)

Int24()

function Int24($value)

LoadInt24()

function LoadInt24($file)

Int32()

function Int32($value)

LoadInt32()

function LoadInt32($file)

GetDoubleMethod()

function GetDoubleMethod()

Double()

function Double($value)

LoadDouble()

function LoadDouble($file)

DateToInt16()

function DateToInt16($date)

Int16ToDate()

function Int16ToDate($number)

String()

function String($value, $maxLen = false)

PadString()

function PadString($value, $minLen)

GoToRecord()

function GoToRecord($num = false)

GetRecordSize()

function GetRecordSize($num = false)

AppendCurrent()

function AppendCurrent($value)

AppendInt8()

function AppendInt8($value)

AppendInt16()

function AppendInt16($value)

AppendInt32()

function AppendInt32($value)

AppendDouble()

function AppendDouble($value)

AppendString()

function AppendString($value, $maxLen = false)

RecordExists()

function RecordExists($Rec = false)

GetRecord()

function GetRecord($Rec = false)

GetRecordAttrib()

function GetRecordAttrib($Rec = false)

GetRecordRaw()

function GetRecordRaw($Rec = false)

SetRecordRaw()

function SetRecordRaw($A, $B = false)

SetRecordAttrib()

function SetRecordAttrib($A, $B = false)

DeleteRecord()

function DeleteRecord($RecNo = false)

GetRecordIDs()

function GetRecordIDs()

GetRecordCount()

function GetRecordCount()

GetAppInfoSize()

function GetAppInfoSize()

GetAppInfo()

function GetAppInfo()

GetSortInfoSize()

function GetSortInfoSize()

GetSortInfo()

function GetSortInfo()

GetCategoryList()

function GetCategoryList()

SetCategoryList()

function SetCategoryList($list)

CreateCategoryData()

function CreateCategoryData()

LoadCategoryData()

function LoadCategoryData($fileData)

PadTo4ByteBoundary()

function PadTo4ByteBoundary($string)

MakeHeader()

function MakeHeader()

WriteToFile()

function WriteToFile($file)

WriteToStdout()

function WriteToStdout()

DownloadPDB()

function DownloadPDB($filename)

ReadFile()

function ReadFile($file)

LoadAppInfo()

function LoadAppInfo($fileData)

LoadSortInfo()

function LoadSortInfo($fileData)

LoadRecord()

function LoadRecord($fileData, $recordInfo)

Tools
Browse the source of this script
Server software