Exemplo n.º 1
0
 /**
  * Prepare and sanitise the table data prior to saving
  *
  * @param  JTable  A JTable object
  */
 protected function prepareTable($table)
 {
     if (JFactory::getApplication()->input->get('task') == 'save2copy') {
         $table->keywords = JText::_('COM_TAGMETA_COPY_OF') . $table->keywords;
     }
     parent::prepareTable($table);
 }
Exemplo n.º 2
0
 protected function prepareTable($table)
 {
     jimport('joomla.filter.output');
     $date = JFactory::getDate();
     $user = JFactory::getUser();
     parent::prepareTable($table);
 }