Page 1 of 1

Override aimeos class

Posted: 25 Sep 2017, 12:07
by MirkoPinna
Hi i am looking for a way to override the

Code: Select all

aimeos-core/lib/mwlib/src/MW/Criteria/Attribute/Standard.php
class.
Is it possible? I want to add one parameter.

Re: Override aimeos class

Posted: 25 Sep 2017, 20:58
by aimeos
Can you explain which parameter you would like to add for what reason?

Re: Override aimeos class

Posted: 26 Sep 2017, 07:15
by MirkoPinna
I would like to add a 'hint' parameter, since it actually takes the key as placeholder.

Re: Override aimeos class

Posted: 26 Sep 2017, 11:15
by aimeos
The easier way would be to add a translatable hint for the code like realized here:
https://github.com/aimeos/ai-client-htm ... t.php#L124