function accessLogAction() { require_once dirname(__FILE__) . '/AdminLogsController.php'; $c = new AdminLogsController($this->getRequest(), $this->getResponse(), $this->getInvokeArgs()); $grid = $c->createAccess(); $grid->removeField('member_login'); $grid->getDataSource()->addWhere('t.user_id=?d', (int) $this->getParam('user_id')); $grid->runWithLayout('admin/user-layout.phtml'); }