Welcome Guest, Not a member yet? Register   Sign In
creating more than one extension to a core library class
#4

[eluser]xwero[/eluser]
The MY_ prefix is to automatically load the extended library. I'm not sure if it will work but you can try to put the two extending classes in the MY_Input.php file and then you have to instantiate them yourself.
Code:
// MY_Input.php
class Input_one{}

class Input_two()
// controller
$input_one = new Input_one();


Messages In This Thread
creating more than one extension to a core library class - by El Forum - 10-27-2008, 04:58 AM



Theme © iAndrew 2016 - Forum software by © MyBB