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

Class: PEAR_PackageFileManager_SimpleGenerator

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

Class Overview

PEAR_PackageFile_Generator_v1
   |
   --PEAR_PackageFileManager_SimpleGenerator

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

PEAR_PackageFileManager_SimpleGenerator __construct( )

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

[ Top ]

getFileRoles   [line 77]

void getFileRoles( )


[ Top ]

getReplacementTypes   [line 82]

void getReplacementTypes( )


[ Top ]

recursiveXmlFilelist   [line 146]

string recursiveXmlFilelist( array $list)

  • Access: protected

Parameters:

array   $list   — 

[ Top ]

setPackageFileManagerOptions   [line 46]

void setPackageFileManagerOptions( array $opts)


Parameters:

array   $opts   —  list of generation options

[ Top ]

validatePackageInfo   [line 101]

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 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 Tue, 15 Dec 2015 17:00:02 +0000 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.