Welcome Guest, Not a member yet? Register   Sign In
Where to put an email function
#6

[eluser]sophistry[/eluser]
found this code by wiredesignz that illustrates multiple inheritance in CI controllers nicely.
see
Quote:
Code:
application/libraries/MY_Controller.php
class MY_Controller extends Controller
{
    function MY_Controller()
    {
        parent::Controller();
    }
application/controllers/main.php
class Main extends MY_Controller
{
    function Main()
    {
        parent::MY_Controller();
    }
the top post on this page of this enlightening OO-design oriented thread from a few months back.


Messages In This Thread
Where to put an email function - by El Forum - 06-11-2008, 06:58 AM
Where to put an email function - by El Forum - 06-11-2008, 07:08 AM
Where to put an email function - by El Forum - 06-11-2008, 12:47 PM
Where to put an email function - by El Forum - 06-11-2008, 01:13 PM
Where to put an email function - by El Forum - 06-11-2008, 02:11 PM
Where to put an email function - by El Forum - 06-11-2008, 07:43 PM
Where to put an email function - by El Forum - 06-11-2008, 09:24 PM
Where to put an email function - by El Forum - 06-11-2008, 09:29 PM
Where to put an email function - by El Forum - 06-12-2008, 05:11 AM
Where to put an email function - by El Forum - 03-24-2009, 06:15 PM



Theme © iAndrew 2016 - Forum software by © MyBB