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

Class: HTTP_Download_PgLOB

Source Location: /HTTP_Download-1.1.4/HTTP/Download/PgLOB.php

Class Overview


PgSQL large object stream interface for HTTP_Download


Author(s):

Version:

  • $Revision: 304423 $

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($db12345);
  6.  $dl &new HTTP_Download;
  7.  $dl->setResource($lo);
  8.  $dl->send()

  • Version: $Revision: 304423 $
  • 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

[ Top ]

open   [line 88]

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

Open
  • Access: public

Parameters:

mixed   $conn   — 
int   $loid   — 
string   $mode   — 

[ Top ]

setConnection   [line 49]

bool setConnection( mixed $conn)

Set Connection
  • Access: public

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( $path, $mode)

Stream Interface Implementation

Parameters:

   $path   — 
   $mode   — 

[ Top ]

stream_read   [line 130]

void stream_read( $length)

Stream Interface Implementation

Parameters:

   $length   — 

[ Top ]

stream_seek   [line 135]

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

Stream Interface Implementation

Parameters:

   $offset   — 
   $whence   — 

[ 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( $data)

Stream Interface Implementation

Parameters:

   $data   — 

[ Top ]


Documentation generated on Mon, 11 Mar 2019 15:40:14 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.