MCPcopy Index your code
hub / github.com/MapServer/MapServer / classObj_setText

Function classObj_setText

mapscript/php/mapscript_i.c:822–828  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

820}
821
822int classObj_setText(classObj *self, layerObj *layer, char *string) {
823 if (!string || strlen(string) == 0) {
824 freeExpression(&self->text);
825 return MS_SUCCESS;
826 }
827 return msLoadExpressionString(&self->text, string);
828}
829
830char *classObj_getTextString(classObj *self) {
831 return msGetExpressionString(&(self->text));

Callers 1

class.cFile · 0.85

Calls 2

freeExpressionFunction · 0.85
msLoadExpressionStringFunction · 0.85

Tested by

no test coverage detected