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

Class: PEAR_PackageFileManager_ComplexGenerator

Source Location: /PEAR_PackageFileManager-1.7.2/PEAR/PackageFileManager/ComplexGenerator.php

Class Overview

PEAR_PackageFile_Generator_v1
   |
   --PEAR_PackageFileManager_ComplexGenerator

Class for XML output


Author(s):

Version:

  • Release: 1.7.2

Copyright:

  • 2003-2015 The PEAR Group

Methods


Inherited Variables

Inherited Methods


Class Details

[line 30]
Class for XML output


[ Top ]


Method Detail

__construct (Constructor)   [line 38]

PEAR_PackageFileManager_ComplexGenerator __construct( )

remove a warning about missing parameters - don't delete this

[ Top ]

analyzeSourceCode   [line 115]

void analyzeSourceCode( $file)


Parameters:

   $file   — 

[ Top ]

buildProvidesArray   [line 121]

void buildProvidesArray( $a)


Parameters:

   $a   — 

[ Top ]

getFileRoles   [line 85]

void getFileRoles( )

  • Access: public

[ Top ]

getReplacementTypes   [line 90]

void getReplacementTypes( )

  • Access: public

[ Top ]

setPackageFileManagerOptions   [line 47]

void setPackageFileManagerOptions( array $opts)


Parameters:

array   $opts   —  list of generation options

[ Top ]

validatePackageInfo   [line 109]

boolean validatePackageInfo( string $info, array &$errors, array &$warnings, [string $dir_prefix = ''])

Validate XML package definition file.
  • Deprecated: use the validation of PEAR_PackageFile objects
  • Access: public

Parameters:

string   $info   —  Filename of the package archive or of the package definition file
array   &$errors   —  Array that will contain the errors
array   &$warnings   —  Array that will contain the warnings
string   $dir_prefix   —  (optional) directory where source files may be found, or empty if they are not available

[ Top ]

xmlFromInfo   [line 62]

string xmlFromInfo( array $pkginfo)

Return an XML document based on the package info (as returned by the PEAR_Common::infoFrom* methods).
  • Return: XML data
  • Deprecated: use a PEAR_PackageFile_v* object's generator instead
  • Access: public

Parameters:

array   $pkginfo   —  package info

[ Top ]


Documentation generated on Tue, 15 Dec 2015 17:00:02 +0000 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.