Your IP : 216.73.216.240


Current Path : /home/j/u/v/juvelize/www/libraries/arisoft/Arisoft/Joomla/Fields/
Upload File :
Current File : /home/j/u/v/juvelize/www/libraries/arisoft/Arisoft/Joomla/Fields/Field.php

<?php
/*
 * ARI Framework
 *
 * @package		ARI Framework
 * @version		1.0.0
 * @author		ARI Soft
 * @copyright	Copyright (c) 2009 www.ari-soft.com. All rights reserved
 * @license		GNU/GPL (http://www.gnu.org/copyleft/gpl.html)
 *
 */
namespace Arisoft\Joomla\Fields;

defined('_JEXEC') or die;

use JFormField, JText;

abstract class Field extends JFormField
{
	public function get($key, $defaultValue = null)
	{
		$val = !is_null($this->element[$key]) ? $this->element[$key] : $defaultValue;
		
		return $val;
	}
	
	public function prepareMessage($message)
	{
		return JText::_($message);
	}
}