english/components/com_content/controllers/article.php
/**
	 * Method to save a record.
	 *
	 * @param	string	$key	The name of the primary key of the URL variable.
	 * @param	string	$urlVar	The name of the URL variable if different from the primary key (sometimes required to avoid router collisions).
	 *
	 * @return	Boolean	True if successful, false otherwise.
	 * @since	1.6
	 */
Method to save a record.
@param       string  $key    The name of the primary key of the URL variable.
@param       string  $urlVar The name of the URL variable if different from the primary key (sometimes required to avoid router collisions).

@return      Boolean True if successful, false otherwise.
Method to save a record . @param string $key The name of the primary key of the URL variable . @param string $urlVar The name of the URL variable if different from the primary key ( sometimes required to avoid router collisions ) . @return Boolean True if successful false otherwise .
public function save($key = null, $urlVar = 'a_id')
	{
		require_once JPATH_ADMINISTRATOR.'/components/com_content/helpers/content.php';
		$result = parent::save($key, $urlVar);
		if ($result) {
			$this->setRedirect($this->getReturnPage());
		}
		return $result;
	}
public function save ( $ key = null , $ urlVar = 'a_id' ) { require_once JPATH_ADMINISTRATOR . '/components/com_content/helpers/content.php' ; $ result = parent :: save ( $ key , $ urlVar ) ; if ( $ result ) { $ this -> setRedirect ( $ this -> getReturnPage ( ) ) ; } return $ result ; }
Method to save a record.
Method to save a record .
// Load the backend helper for filtering. // If ok, redirect to the return page.