using the PEAR-class for information?
| From: | Stephan Wentz | Date: | Tue, 26 Aug 2003 11:23:34 +0000 |
| Subject: | using the PEAR-class for information? | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-20543@lists.php.net to get a copy of this message | ||
hi all!
i'm trying to fetch some information about pear, for example which packages are installed (or the other way round, i wanna know if a given package is installed).
i tried looking at PEAR::Info, but that didn't answer me how to query PEAR for installed packages...
so is there an easy method to check if a package is installed by querying a class? i don't want to do a @include to test it, i want a native answer from pear itself ;-)
hope you get what i mean...
bye, stephan