unexpected T_PROTECTED on line 3
Posted: Fri Apr 22, 2016 10:52 am
Line 3 isn't correct?
why?why?
why?why?
Code: Select all
<?php
// The general information at the top of each file
/**
* @version 4.0.7 Release for Joomla 2.5
* @package Joomla
* @copyright Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License, see LICENSE.php
*/
// No direct access allowed to this file
defined( '_JEXEC' ) or die( 'Restricted access' );
// Import Joomla! Plugin library file
jimport('joomla.plugin.plugin');
// import panes
jimport('joomla.html.pane');
// import WeblinksHelperRoute
require_once JPATH_ROOT.'/components/com_weblinks/helpers/route.php';
//The Content plugin AllWeblinks
class plgContentAllWeblinks extends JPlugin
{
// plugin parameters
// _plgContentAllWeblinksReplace will set the values;
protected $days_new;
protected $txt_new;
protected $days_mod;
protected $txt_mod;
protected $lengthoftitle;
protected $orderby;
protected $Corderby;
protected $linkcount;
protected $displayemptycat;
// These params can also be overridden in the commmandline
protected $real_url;
protected $show_title;
protected $show_new;
protected $show_mod;
protected $show_hits;
protected $new_window;
protected $moduleclass_sfx;
protected $num_cols;
protected $layout;
protected $show_header;
protected $show_cdate;
protected $show_mdate;
protected $show_author;
protected $display_cdescription;
protected $display_ldescription;
protected $DEBUG = 0;
protected $exclude_id = 0;