english/administrator/components/com_modules/models/module.php
/**
	 * Prepare and sanitise the table prior to saving.
	 *
	 * @return	void
	 * @since	1.6
	 */
Prepare and sanitise the table prior to saving.
Prepare and sanitise the table prior to saving .
protected function prepareTable(&$table)
	{
		jimport('joomla.filter.output');
		$date = JFactory::getDate();
		$user = JFactory::getUser();
		$table->title		= htmlspecialchars_decode($table->title, ENT_QUOTES);
		if (empty($table->id)) {
		}
		else {
		}
	}
protected function prepareTable ( & $ table ) { jimport ( 'joomla.filter.output' ) ; $ date = JFactory :: getDate ( ) ; $ user = JFactory :: getUser ( ) ; $ table -> title = htmlspecialchars_decode ( $ table -> title , ENT_QUOTES ) ; if ( empty ( $ table -> id ) ) { } else { } }
Prepare and sanitise the table prior to saving.
Prepare and sanitise the table prior to saving .
// Set the values //$table->created	= $date->toMySQL(); // Set the values //$table->modified	= $date->toMySQL(); //$table->modified_by	= $user->get('id');