Opened 19 years ago

Closed 19 years ago

#1325 closed defect (fixed)

class->settext needed the layer name as argument

Reported by: assefa Owned by: mapserverbugs
Priority: high Milestone:
Component: MapScript-PHP Version: unspecified
Severity: normal Keywords:
Cc:

Description

Initially the class->settext function needed 2 arguments (the first one being 
the layer) : $oclass->settext($layerobj, "new_text").

It should not need the layer argumet since it can be fetched from the class 
object.

Change History (1)

comment:1 by assefa, 19 years ago

Resolution: fixed
Status: newclosed
Fixed :

 the function now takes only one argument (as already described in the README).

 For backward compatibility if the function is called with 2 arguments, the 
first one is considered as being the layer and the 2nd as the text.


 No need to change the README.
Note: See TracTickets for help on using tickets.