[ Index ]
 

Code source de GeekLog 1.4.1

Accédez au Source d'autres logiciels libres

title

Body

[fermer]

/system/pear/PEAR/ -> Builder.php (sommaire)

PEAR_Builder for building PHP extensions (PECL packages) PHP versions 4 and 5

Author: Stig Bakken <ssb@php.net>
Author: Greg Beaver <cellog@php.net>
Copyright: 1997-2006 The PHP Group
License: http://www.php.net/license/3_0.txt PHP License 3.0
Version: CVS: $Id: Builder.php,v 1.27 2006/01/06 04:47:36 cellog Exp $
Poids: 455 lignes (15 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

PEAR_Builder:: (8 méthodes):
  PEAR_Builder()
  _build_win32()
  msdevCallback()
  _harvestInstDir()
  build()
  phpizeCallback()
  _runCommand()
  log()


Classe: PEAR_Builder  - X-Ref

Class to handle building (compiling) extensions.

PEAR_Builder(&$ui)   X-Ref
PEAR_Builder constructor.

param: object $ui user interface object (instance of PEAR_Frontend_*)

_build_win32($descfile, $callback = null)   X-Ref
Build an extension from source on windows.
requires msdev


msdevCallback($what, $data)   X-Ref
Pas de description

_harvestInstDir($dest_prefix, $dirname, &$built_files)   X-Ref

param: string
param: string
param: array

build($descfile, $callback = null)   X-Ref
Build an extension from source.  Runs "phpize" in the source
directory, but compiles in a temporary directory
(/var/tmp/pear-build-USER/PACKAGE-VERSION).

param: string|PEAR_PackageFile_v* $descfile path to XML package description file, or
param: mixed $callback callback function used to report output,
return: array an array of associative arrays with built files,

phpizeCallback($what, $data)   X-Ref
Message callback function used when running the "phpize"
program.  Extracts the API numbers used.  Ignores other message
types than "cmdoutput".

param: string $what the type of message
param: mixed $data the message
return: void

_runCommand($command, $callback = null)   X-Ref
Run an external command, using a message callback to report
output.  The command will be run through popen and output is
reported for every line with a "cmdoutput" message with the
line string, including newlines, as payload.

param: string $command the command to run
param: mixed $callback (optional) function to use as message
return: bool whether the command was successful (exit code 0

log($level, $msg)   X-Ref
Pas de description



Généré le : Wed Nov 21 12:27:40 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics