Override aimeos class

Help for integrating the Laravel package
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
MirkoPinna
Posts: 16
Joined: 04 Sep 2017, 12:35

Override aimeos class

Post by MirkoPinna » 25 Sep 2017, 12:07

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.

User avatar
aimeos
Administrator
Posts: 7836
Joined: 01 Jan 1970, 00:00

Re: Override aimeos class

Post by aimeos » 25 Sep 2017, 20:58

Can you explain which parameter you would like to add for what reason?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

MirkoPinna
Posts: 16
Joined: 04 Sep 2017, 12:35

Re: Override aimeos class

Post by MirkoPinna » 26 Sep 2017, 07:15

I would like to add a 'hint' parameter, since it actually takes the key as placeholder.

User avatar
aimeos
Administrator
Posts: 7836
Joined: 01 Jan 1970, 00:00

Re: Override aimeos class

Post by aimeos » 26 Sep 2017, 11:15

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
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply