<extends>

<extends> – Superseding a package

Saying goodbye to an old package

By adding an <extends> tag to your package.xml, you tell the world that your new package extends an old package in some way. The new package could supersede the old one, or give new functionality to it.

Using extends

...
 <name>Package_Name2</name>
 <channel>pear.php.net</channel>
 <extends>Package_Name</extends>
 <summary>Any one-line summary</summary>
...

Examples for <extends> usage in PEAR

  • HTML_Common2 extends HTML_Common
  • HTML_Progress2 extends HTML_Progress
  • MDB2 extends MDB
  • MDB2_Schema extends MDB2
What is a channel? (Previous) When should I use <uri>? (Next)
Last updated: Wed, 23 Jul 2014 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:

User Notes:

There are no user contributed notes for this page.