Jump to content

How to modify method?


Inlens

Recommended Posts

Posted

Hello,

I want to add some strings to one of method in

/applications/cms/sources/Categories/Categories.php

How can I do it with code hooks?

thanks

Posted

You cannot inject string in the middle of method. All you can do with code hooks is do processing before or after the parent method runs, and add new methods. You say you want to "add some strings", maybe you're better off doing that in a template hook?

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...