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:
@@ -134,7 +134,7 @@ OpenLayers.Protocol.SQL.Gears = OpenLayers.Class(OpenLayers.Protocol.SQL, {
|
||||
},
|
||||
|
||||
/**
|
||||
* Method: read
|
||||
* APIMethod: read
|
||||
* Read all features from the database and return a
|
||||
* <OpenLayers.Protocol.Response> instance. If the options parameter
|
||||
* contains a callback attribute, the function is called with the response
|
||||
@@ -232,7 +232,7 @@ OpenLayers.Protocol.SQL.Gears = OpenLayers.Class(OpenLayers.Protocol.SQL, {
|
||||
},
|
||||
|
||||
/**
|
||||
* Method: create
|
||||
* APIMethod: create
|
||||
* Create new features into the database.
|
||||
*
|
||||
* Parameters:
|
||||
@@ -259,7 +259,7 @@ OpenLayers.Protocol.SQL.Gears = OpenLayers.Class(OpenLayers.Protocol.SQL, {
|
||||
},
|
||||
|
||||
/**
|
||||
* Method: update
|
||||
* APIMethod: update
|
||||
* Construct a request updating modified feature.
|
||||
*
|
||||
* Parameters:
|
||||
@@ -381,7 +381,7 @@ OpenLayers.Protocol.SQL.Gears = OpenLayers.Class(OpenLayers.Protocol.SQL, {
|
||||
},
|
||||
|
||||
/**
|
||||
* Method: delete
|
||||
* APIMethod: delete
|
||||
* Delete features from the database.
|
||||
*
|
||||
* Parameters:
|
||||
@@ -455,7 +455,7 @@ OpenLayers.Protocol.SQL.Gears = OpenLayers.Class(OpenLayers.Protocol.SQL, {
|
||||
},
|
||||
|
||||
/**
|
||||
* 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