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

Class: PEAR_PackageFileManager_ComplexGenerator

Source Location: /PEAR_PackageFileManager-1.7.0/PackageFileManager/ComplexGenerator.php

Class Overview

PEAR_PackageFile_Generator_v1
   |
   --PEAR_PackageFileManager_ComplexGenerator

Class for XML output


Author(s):

Version:

  • Release: 1.7.0

Copyright:

  • 2006-2009 The PEAR Group

Methods


Inherited Variables

Inherited Methods


Class Details

[line 31]
Class for XML output


[ Top ]


Method Detail

PEAR_PackageFileManager_ComplexGenerator (Constructor)   [line 39]

PEAR_PackageFileManager_ComplexGenerator PEAR_PackageFileManager_ComplexGenerator( )

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

[ Top ]

analyzeSourceCode   [line 116]

void analyzeSourceCode( $file)


Parameters:

   $file   — 

[ Top ]

buildProvidesArray   [line 121]

void buildProvidesArray( $a)


Parameters:

   $a   — 

[ Top ]

getFileRoles   [line 86]

void getFileRoles( )


[ Top ]

getReplacementTypes   [line 91]

void getReplacementTypes( )


[ Top ]

setPackageFileManagerOptions   [line 48]

void setPackageFileManagerOptions( array $opts)


Parameters:

array   $opts   —  list of generation options

[ Top ]

validatePackageInfo   [line 110]

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 63]

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 Mon, 11 Mar 2019 15:31:02 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.