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

Class: PEAR_PackageFileManager_SimpleGenerator

Source Location: /PEAR_PackageFileManager-1.6.0a6/PackageFileManager/SimpleGenerator.php

Class Overview

PEAR_PackageFile_Generator_v1
   |
   --PEAR_PackageFileManager_SimpleGenerator

Class for XML output


Author(s):

Copyright:

  • 2003

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

void getFileRoles( )


[ Top ]

getReplacementTypes   [line 77]

void getReplacementTypes( )


[ Top ]

recursiveXmlFilelist   [line 138]

void recursiveXmlFilelist( array $list)

  • Access: protected

Parameters:

array   $list   — 

[ Top ]

setPackageFileManagerOptions   [line 45]

void setPackageFileManagerOptions( array $opts)


Parameters:

array   $opts   — 

[ Top ]

validatePackageInfo   [line 95]

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

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
   &$errors   — 
   &$warnings   — 

[ Top ]

xmlFromInfo   [line 61]

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 14:35:49 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.