Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
JModel / JModelLegacyソースコードを変更せずに、どういうわけか自分のメソッドをいくつか追加することは可能ですか?たとえば、コントローラーから。
JModel / JModelLegacy
直接追加したい場合はJModel / JModelLegacy、いいえ。
JControllerLegacy / JControllerコンポーネントをビルドする場合は、controller.phpファイルでコンポーネントをビルドするときに拡張するときにはい。もちろん、それはあなたのコンポーネントに固有のものになります。他のコンポーネントでは使用できません
JControllerLegacy / JController