protected function getList() { $list = parent::getList(); if (!$this->_hasOwnerField()) { unset($list[3]); unset($list[4]); unset($list[5]); } return $list; }
protected function getList() { $list = parent::getList(); foreach ($list as $key => $value) { switch ($list[$key]['pic']) { default: case "0": $list[$key]['pic'] = OPENBIZ_RESOURCE_URL . '/backup/images/icon_type_user.png'; break; case "1": $list[$key]['pic'] = OPENBIZ_RESOURCE_URL . '/backup/images/icon_type_system.png'; break; } } return $list; }