Strategy and protocol ndoc cleanup. (see #1738)

git-svn-id: http://svn.openlayers.org/trunk/openlayers@8026 dc9f47b5-9b13-0410-9fdd-eb0c1a62fdaf
This commit is contained in:
Tim Schaub
2008-09-17 17:30:01 +00:00
parent babc2a0410
commit 9dd35b03b8
3 changed files with 10 additions and 9 deletions

View File

@@ -11,13 +11,13 @@ OpenLayers.Protocol = OpenLayers.Class({
/**
* Property: format
* {<OpenLayers.Format>}
* {<OpenLayers.Format>} The format used by this protocol.
*/
format: null,
/**
* Property: options
* Any options sent to the constructor.
* {Object} Any options sent to the constructor.
*/
options: null,

View File

@@ -19,14 +19,14 @@ OpenLayers.Protocol.HTTP = OpenLayers.Class(OpenLayers.Protocol, {
/**
* Property: url
* {String} - Service URL, read-only, set through the options
* {String} Service URL, read-only, set through the options
* passed to constructor.
*/
url: null,
/**
* Property: headers
* {Object} - HTTP request headers, read-only, set through the options
* {Object} HTTP request headers, read-only, set through the options
* passed to the constructor,
* Example: {'Content-Type': 'plain/text'}
*/
@@ -34,7 +34,7 @@ OpenLayers.Protocol.HTTP = OpenLayers.Class(OpenLayers.Protocol, {
/**
* Property: params
* {Object} - Parameters of GET requests, read-only, set through the options
* {Object} Parameters of GET requests, read-only, set through the options
* passed to the constructor,
* Example: {'bbox': '5,5,5,5'}
*/
@@ -42,7 +42,7 @@ OpenLayers.Protocol.HTTP = OpenLayers.Class(OpenLayers.Protocol, {
/**
* Property: callback
* {Object} - Function to be called when the <read>, <create>,
* {Object} Function to be called when the <read>, <create>,
* <update>, <delete> or <commit> operation completes, read-only,
* set through the options passed to the constructor.
*/
@@ -50,7 +50,7 @@ OpenLayers.Protocol.HTTP = OpenLayers.Class(OpenLayers.Protocol, {
/**
* Property: scope
* {Object} - Callback execution scope, read-only, set through the
* {Object} Callback execution scope, read-only, set through the
* options passed to the constructor.
*/
scope: null,

View File

@@ -11,7 +11,7 @@ OpenLayers.Strategy = OpenLayers.Class({
/**
* Property: layer
* {<OpenLayers.Layer.Vector>}
* {<OpenLayers.Layer.Vector>} The layer this strategy belongs to.
*/
layer: null,
@@ -69,7 +69,8 @@ OpenLayers.Strategy = OpenLayers.Class({
},
/**
* Method: setLayer.
* Method: setLayer
* Called to set the <layer> property.
*
* Parameters:
* {<OpenLayers.Layer.Vector>}