Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class plgKomentoTriggers extends JPlugin
- {
- // The function name must be the same and the function's arguments
- // must always start by Component followed by the Article Id parameters.
- public function onBeforeSaveComment($component, $cid, &$comment) {
- // carry out any necessary action here
- // some functions requires you to return a boolean
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement