Well if you take the phplib example for instance and you have
include("basesclasses.php");
class DB extends DB_Sql {
var $Host = "localhost";
var $Database = "test";
var $User = "user";
var $Password = "password";
}
In baseclasses.php you have a class
class DB_Sql {
/ public: connection parameters /
var $Host = "";
var $Database = "";
var $User = "";
var $Password = "";
function1() {
//Some code
}
function2() {
//Some code
}
}
you should be able to instantiate a new class of DB like $db = new DB;
And you should be able to call the methods of DB_SQL through $db->function1();
Hope that helps