芝麻web文件管理V1.00
编辑当前文件:/home2/sdektunc/.trash/components.8/com_contact/src/View/Category/FeedView.php
* @license GNU General Public License version 2 or later; see LICENSE.txt */ namespace Joomla\Component\Contact\Site\View\Category; \defined('_JEXEC') or die; use Joomla\CMS\MVC\View\CategoryFeedView; /** * HTML View class for the Contact component * * @since 1.5 */ class FeedView extends CategoryFeedView { /** * @var string The name of the view to link individual items to * @since 3.2 */ protected $viewName = 'contact'; /** * Method to reconcile non standard names from components to usage in this class. * Typically overridden in the component feed view class. * * @param object $item The item for a feed, an element of the $items array. * * @return void * * @since 3.2 */ protected function reconcileNames($item) { parent::reconcileNames($item); $item->description = $item->address; } }