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

Class: HTTP_Download_PgLOB

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

Class Overview


PgSQL large object stream interface for HTTP_Download


Author(s):

Version:

  • $Revision: 1.13 $

Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 45]
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: 1.13 $
  • Access: public


[ Top ]


Class Variables

$conn =  null

[line 106]

Stream Interface Implementation

Type:   mixed


[ Top ]

$handle =  null

[line 107]

Stream Interface Implementation

Type:   mixed


[ Top ]

$ID =  0

[line 104]

Stream Interface Implementation

Type:   mixed


[ Top ]

$size =  0

[line 105]

Stream Interface Implementation

Type:   mixed


[ Top ]



Method Detail

getConnection   [line 76]

resource getConnection( )

Get Connection
  • Access: public

[ Top ]

open   [line 94]

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

Open
  • Access: public

Parameters:

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

[ Top ]

setConnection   [line 55]

bool setConnection( mixed $conn)

Set Connection
  • Access: public

Parameters:

mixed   $conn   — 

[ Top ]

stream_close   [line 171]

void stream_close( )

Stream Interface Implementation

[ Top ]

stream_eof   [line 151]

void stream_eof( )

Stream Interface Implementation

[ Top ]

stream_flush   [line 156]

void stream_flush( )

Stream Interface Implementation

[ Top ]

stream_open   [line 109]

void stream_open( $path, $mode)

Stream Interface Implementation

Parameters:

   $path   — 
   $mode   — 

[ Top ]

stream_read   [line 136]

void stream_read( $length)

Stream Interface Implementation

Parameters:

   $length   — 

[ Top ]

stream_seek   [line 141]

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

Stream Interface Implementation

Parameters:

   $offset   — 
   $whence   — 

[ Top ]

stream_stat   [line 161]

void stream_stat( )

Stream Interface Implementation

[ Top ]

stream_tell   [line 146]

void stream_tell( )

Stream Interface Implementation

[ Top ]

stream_write   [line 166]

void stream_write( $data)

Stream Interface Implementation

Parameters:

   $data   — 

[ Top ]


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