DataProvider
[ class tree: DataProvider ] [ index: DataProvider ] [ all elements ]

Class: DataProvider

Source Location: /dataprovider.php

Class Overview


Reading data from source


Variables

Methods



Class Details

[line 68]
Reading data from source



[ Top ]


Class Variables

$_baseOfs =  0

[line 235]


Type:   int


[ Top ]

$_data =  null

[line 227]


Type:   mixed


[ Top ]

$_size =  -1

[line 231]


Type:   int


[ Top ]

$_type =  DP_EMPTY

[line 223]


Type:   int


[ Top ]



Class Methods


constructor DataProvider [line 79]

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 199]

void close( )



[ Top ]

method get [line 109]

mixed get( int $offset, int $length)

Get data from $offset



Parameters:

int   $offset  
int   $length  

[ Top ]

method getBlocks [line 178]

int getBlocks( )

Return quantity of 0x200 blocks



[ Top ]

method getByte [line 138]

int getByte( int $offset)



Parameters:

int   $offset  

[ Top ]

method getLong [line 157]

int getLong( int $offset)

Returns longint from $offset



Parameters:

int   $offset  

[ Top ]

method getOrd [line 147]

int getOrd( int $offset)



Parameters:

int   $offset  

[ Top ]

method getSize [line 167]

int getSize( )



[ Top ]

method isValid [line 216]

bool isValid( )



[ Top ]

method ReadFromFat [line 191]

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



Parameters:

array   $chain  
int   $gran  

[ Top ]


Zakkis Technology 2003-2005 © www.zakkis.ca (Documentation generated on Fri, 6 May 2005 12:20:07 +0300)