dear team,
from now on we are also using constants in the "AllHistoryActions" model to define the action keys, for example:
const ACTION_KEY_CUSTOMER_HIDDEN =
'customer_hidden';
so we can use it in the code for example when we need the action id
Trav_History_Helper::getActionId(AllHistoryActions::ACTION_KEY_CUSTOMER_HIDDEN)
or in this way:
if ($actionKey == AllHistoryActions::ACTION_KEY_CUSTOMER_HIDDEN) {
...blubber
}
greetings
Dennis