public function pushActivity($actor_id, $act_type, $act_subtype = '', $act_description = '', $act_link = '', $act_title = '', $act_access) { /*load jomwall core*/ if (!class_exists('AwdwallHelperUser')) { require_once JPATH_SITE . DS . 'components' . DS . 'com_awdwall' . DS . 'helpers' . DS . 'user.php'; } $linkHTML = '<a href="' . $act_link . '">' . $act_title . '</a>'; $comment = $act_description . ' ' . $linkHTML; $attachment = $act_link; $type = 'text'; $imgpath = NULL; $params = array(); AwdwallHelperUser::addtostream($comment, $attachment, $type, $actor_id, $imgpath, $params); return true; }