public function generateActionParams() { $pks = $this->tableSchema->primaryKey; if (count($pks) === 1) { return '$id'; } else { return '$' . implode(', $', $pks); } }