set Protocol read, create, update, delete and commit APIMethod. r=tschaub (closes #1660)
git-svn-id: http://svn.openlayers.org/trunk/openlayers@9054 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
@@ -112,7 +112,7 @@ OpenLayers.Protocol.HTTP = OpenLayers.Class(OpenLayers.Protocol, {
|
||||
},
|
||||
|
||||
/**
|
||||
* Method: read
|
||||
* APIMethod: read
|
||||
* Construct a request for reading new features.
|
||||
*
|
||||
* Parameters:
|
||||
@@ -185,7 +185,7 @@ OpenLayers.Protocol.HTTP = OpenLayers.Class(OpenLayers.Protocol, {
|
||||
},
|
||||
|
||||
/**
|
||||
* Method: create
|
||||
* APIMethod: create
|
||||
* Construct a request for writing newly created features.
|
||||
*
|
||||
* Parameters:
|
||||
@@ -234,7 +234,7 @@ OpenLayers.Protocol.HTTP = OpenLayers.Class(OpenLayers.Protocol, {
|
||||
},
|
||||
|
||||
/**
|
||||
* Method: update
|
||||
* APIMethod: update
|
||||
* Construct a request updating modified feature.
|
||||
*
|
||||
* Parameters:
|
||||
@@ -283,7 +283,7 @@ OpenLayers.Protocol.HTTP = OpenLayers.Class(OpenLayers.Protocol, {
|
||||
},
|
||||
|
||||
/**
|
||||
* Method: delete
|
||||
* APIMethod: delete
|
||||
* Construct a request deleting a removed feature.
|
||||
*
|
||||
* Parameters:
|
||||
@@ -379,7 +379,7 @@ OpenLayers.Protocol.HTTP = OpenLayers.Class(OpenLayers.Protocol, {
|
||||
},
|
||||
|
||||
/**
|
||||
* Method: commit
|
||||
* APIMethod: commit
|
||||
* Iterate over each feature and take action based on the feature state.
|
||||
* Possible actions are create, update and delete.
|
||||
*
|
||||
@@ -463,7 +463,7 @@ OpenLayers.Protocol.HTTP = OpenLayers.Class(OpenLayers.Protocol, {
|
||||
},
|
||||
|
||||
/**
|
||||
* Method: abort
|
||||
* APIMethod: abort
|
||||
* Abort an ongoing request, the response object passed to
|
||||
* this method must come from this HTTP protocol (as a result
|
||||
* of a create, read, update, delete or commit operation).
|
||||
|
||||
Reference in New Issue
Block a user