DataProvider

Class: DataProvider

Source Location: /dataprovider.php



Class Details

[line 60]


[ Top ]


Class Variables

$_baseOfs =  0

[line 227]


Type:  
int


[ Top ]

$_data =  null

[line 219]


Type:  
mixed


[ Top ]

$_size =  -1

[line 223]


Type:  
int


[ Top ]

$_type =  DP_EMPTY

[line 215]


Type:  
int


[ Top ]



Class Methods


constructor DataProvider [line 71]

DataProvider DataProvider( string $data, int $dataType)

Set type of data:

DP_FILE_SOURCE DP_STRING_SOURCE DP_EMPTY




Parameters:

string  
$data  
int  
$dataType  

[ Top ]

method close [line 191]

void close( )



[ Top ]

method get [line 101]

mixed get( int $offset, int $length)

Get data from $offset



Parameters:

int  
$offset  
int  
$length  

[ Top ]

method getBlocks [line 170]

int getBlocks( )

Return quantity of 0x200 blocks



[ Top ]

method getByte [line 130]

int getByte( int $offset)



Parameters:

int  
$offset  

[ Top ]

method getLong [line 149]

int getLong( int $offset)

Returns longint from $offset



Parameters:

int  
$offset  

[ Top ]

method getOrd [line 139]

int getOrd( int $offset)



Parameters:

int  
$offset  

[ Top ]

method getSize [line 159]

int getSize( )



[ Top ]

method isValid [line 208]

bool isValid( )



[ Top ]

method ReadFromFat [line 183]

string ReadFromFat( array $chain, [int $gran = 0x200])



Parameters:

array  
$chain  
int  
$gran  

[ Top ]


Documentation generated on Wed, 9 Feb 2005 17:19:51 +0200 by phpDocumentor 1.3.0RC3