Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public function onContentAfterSave ($context, $article, $isNew)
- {
- $article = JModelLegacy::getInstance('Article', 'ContentModel')->getItem();
- ....
- }
- public function onContentAfterSave ($context, $article, $isNew)
- {
- if (IS_A_ARTCLE) { ... }
- }
Add Comment
Please, Sign In to add comment