예제 #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);
 }
예제 #2
0
 protected function prepareTable($table)
 {
     jimport('joomla.filter.output');
     $date = JFactory::getDate();
     $user = JFactory::getUser();
     parent::prepareTable($table);
 }