Your IP : 216.73.216.41


Current Path : /home/purehotels/public_html/administrator/components/com_easyfolderlistingpro/models/
Upload File :
Current File : /home/purehotels/public_html/administrator/components/com_easyfolderlistingpro/models/editorxtd.php

<?php
/**
* @version		3.2
* @author		Michael A. Gilkes (michael@valorapps.com)
* @copyright	Michael Albert Gilkes
* @license		GNU/GPLv3

Easy Folder Listing Pro Component for Joomla!
Copyright (C) 2012-2016 Michael Albert Gilkes (Valor Apps)

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.
*/

//No direct access to this file
defined('_JEXEC') or die('Restricted access');


/**
 * EasyFolderListingPro EditorXtd Model
 */
class EasyFolderListingProModelEditorXtd extends JModelForm
{
	/**
	 * Method to get the record form.
	 *
	 * @param	array	$data		Data for the form.
	 * @param	boolean	$loadData	True if the form is to load its own data (default case), false if not.
	 * @return	mixed	A JForm object on success, false on failure
	 */
	public function getForm($data = array(), $loadData = false) 
	{
		//All I need to do is load the form to programmatically get the fields that we need
		$form = $this->loadForm('com_easyfolderlistingpro.editorxtd', 'profile', array('control' => 'jform', 'load_data' => $loadData));
		if (empty($form)) 
		{
			return false;
		}
		return $form;
	}
}