• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
MY_Controller

#1
[eluser]blasto333[/eluser]
Is it necessary to have all Controllers that override Controller in application/libraries/MY_Controller.php?

I know this way they will be autoloaded, but what is the harm in doing this:

Currently in MY_Controller I have this:

class Secure_Area extends Controller
{
..
..
..
}

abstract class Person_Controller extends Secure_Area implements iPerson_Controller
{
..
..
..
}

For readability I would rather have two separate files:
libraries/Secure_Area.php
libraries/Person_Controller.php


Messages In This Thread
MY_Controller - by El Forum - 10-19-2008, 05:56 AM
MY_Controller - by El Forum - 10-19-2008, 06:00 AM
MY_Controller - by El Forum - 10-19-2008, 06:36 AM
MY_Controller - by El Forum - 10-19-2008, 06:40 AM
MY_Controller - by El Forum - 10-19-2008, 07:10 AM
MY_Controller - by El Forum - 10-19-2008, 10:42 AM
MY_Controller - by El Forum - 10-19-2008, 03:11 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.