Skip to content

Commit

Permalink
document clone* methods for PHP
Browse files Browse the repository at this point in the history
  • Loading branch information
jmckenna committed Apr 5, 2023
1 parent 8307333 commit 7c17910
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 5 deletions.
8 changes: 7 additions & 1 deletion mapscript/swiginc/class.i
Expand Up @@ -96,7 +96,13 @@
classObj *cloneClass()
#else
%newobject clone;
/// Return an independent copy of the class without a parent layer
/**
Return an independent copy of the class without a parent layer
.. note::
In the Java & PHP modules this method is named ``cloneClass``.
*/
classObj *clone()
#endif
{
Expand Down
4 changes: 4 additions & 0 deletions mapscript/swiginc/layer.i
Expand Up @@ -103,6 +103,10 @@
%newobject clone;
/**
Return an independent copy of the layer with no parent map.
.. note::
In the Java & PHP modules this method is named ``cloneLayer``.
*/
layerObj *clone()
#endif
Expand Down
4 changes: 2 additions & 2 deletions mapscript/swiginc/map.i
Expand Up @@ -74,11 +74,11 @@
#else
%newobject clone;
/**
Returns a independent copy of the map, less any caches.
Return an independent copy of the map, less any caches.
.. note::
In the Java module this method is named ``cloneMap``.
In the Java & PHP modules this method is named ``cloneMap``.
*/
mapObj *clone()
#endif
Expand Down
8 changes: 7 additions & 1 deletion mapscript/swiginc/shape.i
Expand Up @@ -119,7 +119,13 @@
shapeObj *cloneShape()
#else
%newobject clone;
/// Return an independent copy of the shape.
/**
Return an independent copy of the shape.
.. note::
In the Java & PHP modules this method is named ``cloneShape``.
*/
shapeObj *clone()
#endif
{
Expand Down
8 changes: 7 additions & 1 deletion mapscript/swiginc/style.i
Expand Up @@ -95,7 +95,13 @@
styleObj *cloneStyle()
#else
%newobject clone;
/// Returns an independent copy of the style with no parent class.
/**
Return an independent copy of the style with no parent class.
.. note::
In the Java & PHP modules this method is named ``cloneStyle``.
*/
styleObj *clone()
#endif
{
Expand Down

0 comments on commit 7c17910

Please sign in to comment.