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

Class: HTTP_Download_PgLOB

Source Location: /HTTP_Download-1.1.0/Download/PgLOB.php

Class Overview


PgSQL large object stream interface for HTTP_Download


Author(s):

Version:

  • $Revision: 1.14 $

Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 39]
PgSQL large object stream interface for HTTP_Download

Usage:


1 require_once 'HTTP/Download.php';
2 require_once 'HTTP/Download/PgLOB.php';
3 $db = &DB::connect('pgsql://user:pass@host/db');
4 // or $db = pg_connect(...);
5 $lo = HTTP_Download_PgLOB::open($db, 12345);
6 $dl = &new HTTP_Download;
7 $dl->setResource($lo);
8 $dl->send()

  • Version: $Revision: 1.14 $
  • Access: public


[ Top ]


Class Variables

$conn =  null

[line 100]

Stream Interface Implementation

Type:   mixed


[ Top ]

$handle =  null

[line 101]

Stream Interface Implementation

Type:   mixed


[ Top ]

$ID =  0

[line 98]

Stream Interface Implementation

Type:   mixed


[ Top ]

$size =  0

[line 99]

Stream Interface Implementation

Type:   mixed


[ Top ]



Method Detail

getConnection   [line 70]

resource getConnection( )

Get Connection
  • Access: public
  • Static: This method can be called statically

[ Top ]

open   [line 88]

resource open( mixed $conn, int $loid, [string $mode = 'rb'])

Open
  • Access: public
  • Static: This method can be called statically

Parameters:

mixed   $conn     
int   $loid     
string   $mode     

[ Top ]

setConnection   [line 49]

bool setConnection( mixed $conn)

Set Connection
  • Access: public
  • Static: This method can be called statically

Parameters:

mixed   $conn     

[ Top ]

stream_close   [line 165]

void stream_close( )

Stream Interface Implementation

[ Top ]

stream_eof   [line 145]

void stream_eof( )

Stream Interface Implementation

[ Top ]

stream_flush   [line 150]

void stream_flush( )

Stream Interface Implementation

[ Top ]

stream_open   [line 103]

void stream_open( mixed $path, mixed $mode)

Stream Interface Implementation

[ Top ]

stream_read   [line 130]

void stream_read( mixed $length)

Stream Interface Implementation

[ Top ]

stream_seek   [line 135]

void stream_seek( mixed $offset, [mixed $whence = SEEK_SET])

Stream Interface Implementation

[ Top ]

stream_stat   [line 155]

void stream_stat( )

Stream Interface Implementation

[ Top ]

stream_tell   [line 140]

void stream_tell( )

Stream Interface Implementation

[ Top ]

stream_write   [line 160]

void stream_write( mixed $data)

Stream Interface Implementation

[ Top ]


Documentation generated on Mon, 14 Nov 2005 07:33:23 -0500 by phpDocumentor 1.2.3. PEAR Logo Copyright © PHP Group 2004.