Welcome Guest, Not a member yet? Register   Sign In
Multiple classes in one library
#1

[eluser]rvent[/eluser]
Hello,

I am creating a series of web applications and i was thinking to separate each app into its own library. But i wanted to know if it was possible to have more than 1 class defined in each library for example:
Code:
<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Testcenter
{
   function one
   {
   }
}

class Test extends Testcenter
{
   funtion addTest()
   {
   }
}
?>

and so on...?

Thanks


Messages In This Thread
Multiple classes in one library - by El Forum - 01-26-2009, 04:06 PM
Multiple classes in one library - by El Forum - 01-26-2009, 04:53 PM
Multiple classes in one library - by El Forum - 01-27-2009, 04:33 AM
Multiple classes in one library - by El Forum - 01-27-2009, 08:48 AM
Multiple classes in one library - by El Forum - 01-27-2009, 03:26 PM
Multiple classes in one library - by El Forum - 01-27-2009, 06:38 PM



Theme © iAndrew 2016 - Forum software by © MyBB