sprintf('编辑', $row['channel_id'], $finder_id), 'apply' => sprintf('申请绑定', $row['channel_id'], $finder_id), ]; if ($row[$this->col_prefix . 'node_id']) { unset($buttons['apply']); } if ($row[$this->col_prefix . 'channel_type']=='cloudprint') { unset($buttons['apply']); } return implode(' | ', $buttons); } }