[ Index ]
 

Code source de PHP PEAR 1.4.5

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/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.31 2007/01/10 05:32:51 cellog Exp $
Poids: 479 lignes (16 kb)
Inclus ou requis: 2 fois
Référencé: 0 fois
Nécessite: 2 fichiers
 PEAR/Common.php
 PEAR/PackageFile.php

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 : Sun Feb 25 14:08:00 2007 par Balluche grâce à PHPXref 0.7