<?php
/**
 * @package    Lib_Compojoom
 * @author     DanielDimitrov <daniel@compojoom.com>
 * @date       23.01.14
 *
 * @copyright  Copyright (C) 2008 - 2013 compojoom.com . All rights reserved.
 * @license    GNU General Public License version 2 or later; see LICENSE
 */

defined('_JEXEC') or die('Restricted access');

jimport('joomla.application.component.controllerform');

/**
 * Class HotspotsControllerCustomfield
 *
 * @since  4.0
 */
class CompojoomControllerCustomfield extends JControllerForm
{
	/**
	 * We need to save the category references
	 *
	 * @param   JModelLegacy|JModel  $model      - On 2.5 JModel, on > 3.0 JModelLegacy
	 * @param   array                $validData  - the valid data
	 *
	 * @return boolean
	 */
	protected function postSaveHook(JModelLegacy $model, $validData = array())
	{
		return $model->onAfterSave($model, $validData);
	}
}
