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:
@@ -53,7 +53,7 @@ OpenLayers.Protocol = OpenLayers.Class({
|
||||
},
|
||||
|
||||
/**
|
||||
* Method: read
|
||||
* APIMethod: read
|
||||
* Construct a request for reading new features.
|
||||
*
|
||||
* Parameters:
|
||||
@@ -69,7 +69,7 @@ OpenLayers.Protocol = OpenLayers.Class({
|
||||
|
||||
|
||||
/**
|
||||
* Method: create
|
||||
* APIMethod: create
|
||||
* Construct a request for writing newly created features.
|
||||
*
|
||||
* Parameters:
|
||||
@@ -86,7 +86,7 @@ OpenLayers.Protocol = OpenLayers.Class({
|
||||
},
|
||||
|
||||
/**
|
||||
* Method: update
|
||||
* APIMethod: update
|
||||
* Construct a request updating modified features.
|
||||
*
|
||||
* Parameters:
|
||||
@@ -103,7 +103,7 @@ OpenLayers.Protocol = OpenLayers.Class({
|
||||
},
|
||||
|
||||
/**
|
||||
* Method: delete
|
||||
* APIMethod: delete
|
||||
* Construct a request deleting a removed feature.
|
||||
*
|
||||
* Parameters:
|
||||
@@ -119,7 +119,7 @@ OpenLayers.Protocol = OpenLayers.Class({
|
||||
},
|
||||
|
||||
/**
|
||||
* Method: commit
|
||||
* APIMethod: commit
|
||||
* Go over the features and for each take action
|
||||
* based on the feature state. Possible actions are create,
|
||||
* update and delete.
|
||||
|
||||
Reference in New Issue
Block a user