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

Class: PEAR_PackageFileManager_SimpleGenerator

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

Class Overview

PEAR_PackageFile_Generator_v1
   |
   --PEAR_PackageFileManager_SimpleGenerator

Class for XML output


Author(s):

Version:

  • Release: 1.7.0

Copyright:

  • 2005-2009 The PEAR Group

Methods


Inherited Variables

Inherited Methods


Class Details

[line 31]
Class for XML output


[ Top ]


Method Detail

PEAR_PackageFileManager_SimpleGenerator (Constructor)   [line 38]

PEAR_PackageFileManager_SimpleGenerator PEAR_PackageFileManager_SimpleGenerator( )

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

[ Top ]

getFileRoles   [line 78]

void getFileRoles( )


[ Top ]

getReplacementTypes   [line 83]

void getReplacementTypes( )


[ Top ]

recursiveXmlFilelist   [line 147]

string recursiveXmlFilelist( array $list)

  • Access: protected

Parameters:

array   $list     

[ Top ]

setPackageFileManagerOptions   [line 47]

void setPackageFileManagerOptions( array $opts)


Parameters:

array   $opts     list of generation options

[ Top ]

validatePackageInfo   [line 102]

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 Wed, 15 Apr 2009 04:00:06 +0000 by phpDocumentor 1.4.2. PEAR Logo Copyright © PHP Group 2004.