Hi
I have a controller that extends BaseController.
I also need to execute some code in the controllers __construct method.
The __construct gets called before the
initController function in the BaseController.
Is there a "2ndary" controller init that I can use that will get called after
initController ?
PS. I don't want to start using Filters for this.
PHP Code:
class BaseController extends Controller
{
public function initController()
{
echo 'basecontroller init<br/>';
// ..........
class Search extends BaseController
{
public function __construct()
{
echo 'search __construct<br/>';
//.........
OUTPUT:
search __construct
basecontroller init