| Server IP : 54.36.91.62 / Your IP : 216.73.217.112 Web Server : Apache System : Linux webm013.cluster127.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64 User : coopiak ( 151928) PHP Version : 8.3.23 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/c/o/o/coopiak/amisdesseniors-fr/brest/plugins/koowa/ccomment/ |
Upload File : |
<?php
/**
* @package Com_Comment
* @author DanielDimitrov <daniel@compojoom.com>
* @date 23.01.2015
*
* @copyright Copyright (C) 2008 - 2013 compojoom.com . All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE
*/
defined('_JEXEC') or die('Restricted access');
/**
* Class PlgKoowaCcomment
*
* @since 5.0
*/
class PlgKoowaCcomment extends JPlugin
{
/**
* This will render the comments in docman
*
* @param string $context - the context
* @param object &$row - the docman document
* @param object &$params - any params
* @param int $page - the page
*
* @return bool|mixed|string|void
*/
public function onContentAfterDisplay($context, &$row, &$params, $page = 0)
{
if (in_array($context, array('com_docman.document', 'com_docman.list')))
{
JLoader::discover('ccommentHelper', JPATH_ROOT . '/components/com_comment/helpers');
return ccommentHelperUtils::commentInit('com_docman', $row);
}
return '';
}
}