![]() PEAR_PackageFileManager : The Definitive Guide |
Once again, if you think this function is useless, you may consider that the package script generator could use data coming from another source (such as a database, a flat file, ...) rather than just hard-coded.
Checking of duplicates is performed by usage of updateMaintainer()
, and even allow adding a new
user if he did not exists.
![]() |
Important |
---|---|
This feature is only available for PEAR_PackageFileManager 1.6.0
or better. To do the same thing, by programming, with
package.xml version 1.0, you should
set options with an empty "maintainers" array first, before apply
the addMaintainer() method.
|
To produce a package.xml
version 1.0
To produce a package.xml
version 2.0
PEAR_PackageFileManager : The Definitive Guide | v 1.6.0 : November 17, 2006 |