T teejam Chevereto Member Jul 11, 2018 #1 I want to edit one of the class files a bit, but can't seem to get an override to work. Am I doing it incorrectly? I tried putting the file in /app/lib/classes/overrides/ Thanks.
I want to edit one of the class files a bit, but can't seem to get an override to work. Am I doing it incorrectly? I tried putting the file in /app/lib/classes/overrides/ Thanks.
Rodolfo ⭐ Chevereto Godlike Chevereto Staff Administrator Jul 11, 2018 #2 No, you don't override a class like that. You extend and then you use the magic keyword "use". http://php.net/manual/en/language.namespaces.importing.php
No, you don't override a class like that. You extend and then you use the magic keyword "use". http://php.net/manual/en/language.namespaces.importing.php
A abrlam Chevereto Member Dec 9, 2020 #4 Could you provide an example? Let's say I want to change the search behavior in app/lib/classes/class.search.php, how should I go about it? Thank you.
Could you provide an example? Let's say I want to change the search behavior in app/lib/classes/class.search.php, how should I go about it? Thank you.