public function Link($action='') {
		if (strlen($this->ExternalURL) && !strlen($this->Content)) {
			// redirect away
			return $this->ExternalURL;
		}
		if ($this->InternalFile()->ID) {
			$file = $this->InternalFile();
			return $file->Link($action);
		}
		return parent::Link($action);
	}
public function Link($action='') {
		if (strlen($this->ExternalURL) && !strlen($this->Content)) {
			// redirect away
			return $this->ExternalURL;
		}
		if ($this->InternalFile()->ID) {
			$file = $this->InternalFile();
			return $file->Link($action);
		}
		return parent::Link($action);
	}
public function Link ( $ action = '' ) { if ( strlen ( $ this -> ExternalURL ) && ! strlen ( $ this -> Content ) ) { // redirect away return $ this -> ExternalURL ; } if ( $ this -> InternalFile ( ) -> ID ) { $ file = $ this -> InternalFile ( ) ; return $ file -> Link ( $ action ) ; } return parent :: Link ( $ action ) ; }
Link to the news article. If it has an external URL set, or a file, link to that instead.

@param String $action
@return String
Link to the news article . If it has an external URL set or a file link to that instead .