mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-09-15 14:57:07 -04:00
Renames the Attribute-specific definition methods from snake_case to camelCase and updates every call site: get_definition_by_name -> getDefinitionByName get_definition_names -> getDefinitionNames get_definition_values -> getDefinitionValues get_definitions_by_type -> getDefinitionsByType get_definitions_by_flags -> getDefinitionsByFlags get_definition_flags -> getDefinitionFlags Also documents getDefinitionByName()'s return contract: a single definition row as an associative array, or [] when none matches, matching the getRowArray() behaviour introduced in #4464. get_found_rows() and get_total_rows() are deliberately left alone - they are declared across 15 models and renaming them only here would break that shared convention. Refs #4622 Co-authored-by: objecttothis <17935339+objecttothis@users.noreply.github.com>