CoreFiles by mySites.guru
author.php38 lines, 1,029 bytes, from Joomla_1.5.2-Stable-Full_Package.zip
Raw History Compare with 1.5.1
md5
ba53bfc4d1e214b838bb3f4047a4f962
sha1
857d1377e93186fa619e131f4f42247cb7759380
sha256
745591c896ec7042a40426700aa349c54b9b613e71618bd6938163bd4cf41da7
<?php
/**
* @version		$Id: author.php 10094 2008-03-02 04:35:10Z instance $
* @package		Joomla
* @subpackage	Articles
* @copyright	Copyright (C) 2005 - 2008 Open Source Matters. All rights reserved.
* @license		GNU/GPL, see LICENSE.php
* Joomla! is free software. This version may have been modified pursuant
* to the GNU General Public License, and as distributed it includes or
* is derivative of works licensed under the GNU General Public License or
* other free or open source software licenses.
* See COPYRIGHT.php for copyright notices and details.
*/

// Check to ensure this file is included in Joomla!
defined('_JEXEC') or die( 'Restricted access' );

/**
 * Renders a author element
 *
 * @package 	Joomla
 * @subpackage	Articles
 * @since		1.5
 */
class JElementAuthor extends JElement
{
	/**
	 * Element name
	 * @access	protected
	 * @var		string
	 */
	var	$_name = 'Author';

	function fetchElement($name, $value, &$node, $control_name)
	{
		return JHTML::_('list.users', $control_name.'['.$name.']', $value);
	}
}

The same content is in 2 releases, Joomla 1.5.2 to 1.5.3. See them all, or every version of this file.