- $idField = isset( $tableParams['idField'] ) ?
- $tableParams['idField'] :
- "{$prefix}_id";
- $nsField = isset( $tableParams['nsField'] ) ?
- $tableParams['nsField'] :
- "{$prefix}_namespace";
- $titleField = isset( $tableParams['titleField'] ) ?
- $tableParams['titleField'] :
- "{$prefix}_title";
+ $idField = $tableParams['idField'] ?? "{$prefix}_id";
+ $nsField = $tableParams['nsField'] ?? "{$prefix}_namespace";
+ $titleField = $tableParams['titleField'] ?? "{$prefix}_title";