public function getBatchActions() { if ($this->request && $this->request->get('pcode') == '') { return parent::getBatchActions(); } return array(); }