components/com_jdownloads/controllers/download.php
/**
	 * Method to add a new record.
	 *
	 * @return	boolean	True if the download can be added, false if not.
	 */
Method to add a new record.
@return      boolean True if the download can be added, false if not.
Method to add a new record . @return boolean True if the download can be added false if not .
public function add()
	{
		if (!parent::add()) {
			$this->setRedirect($this->getReturnPage());
		}
	}
public function add ( ) { if ( ! parent :: add ( ) ) { $ this -> setRedirect ( $ this -> getReturnPage ( ) ) ; } }
Method to add a new record.
Method to add a new record .
// Redirect to the return page.