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

Class: PHP_Archive_Manager

Source Location: /PHP_Archive-0.11.4/Archive/Manager.php

Class Overview




Author(s):

Version:

  • $Id: Manager.php,v 1.14 2007/08/18 03:57:34 cellog Exp $

Copyright:

  • Copyright ? Gregory Beaver

Methods


Inherited Variables

Inherited Methods


Class Details

[line 23]
  • Author: Greg Beaver <cellog@php.net>
  • Version: $Id: Manager.php,v 1.14 2007/08/18 03:57:34 cellog Exp $
  • Copyright: Copyright ? Gregory Beaver


[ Top ]


Method Detail

__construct (Constructor)   [line 53]

string __construct( string $phar)

Locate the .phar archive in the include_path and detect the file to open within the archive.

Possible parameters are phar://filename_within_phar.ext or phar://pharname.phar/filename_within_phar.ext

phar://filename_within_phar.ext will simply use the last .phar opened.

  • Return: the filename within the .phar to retrieve
  • Access: public

Parameters:

string   $phar     a file within the archive

[ Top ]

dump   [line 382]

void dump( [bool $return_array = false])

Display information on a phar
  • Access: public

Parameters:

bool   $return_array     

[ Top ]

inHtml   [line 468]

PHP_Archive_Manager inHtml( )

For display of data in a browser
  • Access: public

[ Top ]

rePhar   [line 458]

void rePhar( string $fromHere)

Re-make the phar from a previously after having done work on an unPharred phar
  • Access: public

Parameters:

string   $fromHere     

[ Top ]

unPhar   [line 448]

void unPhar( string $toHere)

Extract the .phar to a particular location
  • Access: public

Parameters:

string   $toHere     

[ Top ]

validate   [line 63]

void validate( [ $strict = false])

validate a phar prior to manipulating it
  • Throws: PHP_Archive_Exception
  • Access: public

Parameters:

   $strict     

[ Top ]

__toString   [line 430]

void __toString( )

  • Access: public

[ Top ]


Documentation generated on Mon, 19 May 2008 11:30:16 -0400 by phpDocumentor 1.4.0. PEAR Logo Copyright © PHP Group 2004.