before($method)) { if (method_exists($handler, 'index')) { $handler->index($method); } $handler->after(); } ob_end_flush(); ?>