\GnPublishMetadataCommand
Perform a insert request to a GeoNetwork node.
Synopsis
class GnPublishMetadataCommand
extends GnAuthenticationCommand
{
- // members
- public static string $api_url = 'srv/en/metadata.admin';
- public static boolean $RequireAuth = true;
- public static string $xsl_path = '../geocatalogue/xslt/gnInsertResponse.xsl';
- // methods
- public static void get_api_url()
- public static void set_api_url()
- public static void get_xsl_path()
- public static void set_xsl_path()
- public string execute()
- // Inherited methods from GnAuthenticationCommand
- public void setUsername()
- public string getUsername()
- public void setPassword()
- public string getPassword()
- public void execute()
Hierarchy
Extends
Tasks
Line | Task |
---|---|
80 | better error handling |
95 | bad! use JSON |
Members
public
- $RequireAuth
- $api_url — string
- $xsl_path
Methods
public
- execute() — Command execute
- get_api_url()
- get_xsl_path()
- set_api_url()
- set_xsl_path()
Inherited from GnAuthenticationCommand
public
- execute()
- getPassword() — Returns password for GeoNetwork authentication.
- getUsername() — Returns username for GeoNetwork authentication.
- setPassword() — Sets password for GeoNetwork authentication.
- setUsername() — Sets username for GeoNetwork authentication.