english/administrator/components/com_redirect/tables/link.php
/**
	 * Overriden store method to set dates.
	 *
	 * @param	boolean	True to update fields even if they are null.
	 *
	 * @return	boolean	True on success.
	 * @see		JTable::store
	 * @since	1.6
	 */
Overriden store method to set dates.
@param       boolean True to update fields even if they are null.

@return      boolean True on success.
Overriden store method to set dates . @param boolean True to update fields even if they are null . @return boolean True on success .
public function store($updateNulls = false)
	{
		$date = JFactory::getDate()->toMySQL();
		if ($this->id) {
			$this->modified_date = $date;
		} else {
			$this->created_date = $date;
		}
		return parent::store($updateNulls);
	}
public function store ( $ updateNulls = false ) { $ date = JFactory :: getDate ( ) -> toMySQL ( ) ; if ( $ this -> id ) { $ this -> modified_date = $ date ; } else { $ this -> created_date = $ date ; } return parent :: store ( $ updateNulls ) ; }
Overriden store method to set dates.
Overriden store method to set dates .
// Initialise variables. // Existing item // New record.