Skip to content

Commit

Permalink
add encoding property to PHP mapscript source
Browse files Browse the repository at this point in the history
  • Loading branch information
jmckenna committed Apr 12, 2016
1 parent cb0cb44 commit abd3493
Showing 1 changed file with 51 additions and 49 deletions.
100 changes: 51 additions & 49 deletions mapscript/php/layer.c
Original file line number Diff line number Diff line change
Expand Up @@ -271,32 +271,33 @@ PHP_METHOD(layerObj, __get)
php_layer = (php_layer_object *) zend_object_store_get_object(zobj TSRMLS_CC);

IF_GET_LONG("numclasses", php_layer->layer->numclasses)
else IF_GET_LONG("index", php_layer->layer->index)
else IF_GET_LONG("status", php_layer->layer->status)
else IF_GET_LONG("debug", php_layer->layer->debug)
else IF_GET_STRING("bandsitem", php_layer->layer->bandsitem)
else IF_GET_STRING("classitem", php_layer->layer->classitem)
else IF_GET_STRING("classgroup", php_layer->layer->classgroup)
else IF_GET_STRING("name", php_layer->layer->name)
else IF_GET_STRING("group", php_layer->layer->group)
else IF_GET_STRING("data", php_layer->layer->data)
else IF_GET_LONG("type", php_layer->layer->type)
else IF_GET_LONG("dump", php_layer->layer->dump)
else IF_GET_DOUBLE("tolerance", php_layer->layer->tolerance)
else IF_GET_LONG("toleranceunits", php_layer->layer->toleranceunits)
else IF_GET_LONG("sizeunits", php_layer->layer->sizeunits)
else IF_GET_DOUBLE("symbolscaledenom", php_layer->layer->symbolscaledenom)
else IF_GET_LONG("maxclasses", php_layer->layer->maxclasses)
else IF_GET_DOUBLE("minscaledenom", php_layer->layer->minscaledenom)
else IF_GET_DOUBLE("maxscaledenom", php_layer->layer->maxscaledenom)
else IF_GET_DOUBLE("labelminscaledenom", php_layer->layer->labelminscaledenom)
else IF_GET_DOUBLE("labelmaxscaledenom", php_layer->layer->labelmaxscaledenom)
else IF_GET_DOUBLE("maxgeowidth", php_layer->layer->maxgeowidth)
else IF_GET_DOUBLE("mingeowidth", php_layer->layer->mingeowidth)
else IF_GET_STRING("mask", php_layer->layer->mask)
else IF_GET_LONG("minfeaturesize", php_layer->layer->minfeaturesize)
else IF_GET_LONG("maxfeatures", php_layer->layer->maxfeatures)
else IF_GET_LONG("startindex", php_layer->layer->startindex)
else IF_GET_STRING("encoding", php_layer->layer->encoding)
else IF_GET_LONG("index", php_layer->layer->index)
else IF_GET_LONG("status", php_layer->layer->status)
else IF_GET_LONG("debug", php_layer->layer->debug)
else IF_GET_STRING("bandsitem", php_layer->layer->bandsitem)
else IF_GET_STRING("classitem", php_layer->layer->classitem)
else IF_GET_STRING("classgroup", php_layer->layer->classgroup)
else IF_GET_STRING("name", php_layer->layer->name)
else IF_GET_STRING("group", php_layer->layer->group)
else IF_GET_STRING("data", php_layer->layer->data)
else IF_GET_LONG("type", php_layer->layer->type)
else IF_GET_LONG("dump", php_layer->layer->dump)
else IF_GET_DOUBLE("tolerance", php_layer->layer->tolerance)
else IF_GET_LONG("toleranceunits", php_layer->layer->toleranceunits)
else IF_GET_LONG("sizeunits", php_layer->layer->sizeunits)
else IF_GET_DOUBLE("symbolscaledenom", php_layer->layer->symbolscaledenom)
else IF_GET_LONG("maxclasses", php_layer->layer->maxclasses)
else IF_GET_DOUBLE("minscaledenom", php_layer->layer->minscaledenom)
else IF_GET_DOUBLE("maxscaledenom", php_layer->layer->maxscaledenom)
else IF_GET_DOUBLE("labelminscaledenom", php_layer->layer->labelminscaledenom)
else IF_GET_DOUBLE("labelmaxscaledenom", php_layer->layer->labelmaxscaledenom)
else IF_GET_DOUBLE("maxgeowidth", php_layer->layer->maxgeowidth)
else IF_GET_DOUBLE("mingeowidth", php_layer->layer->mingeowidth)
else IF_GET_STRING("mask", php_layer->layer->mask)
else IF_GET_LONG("minfeaturesize", php_layer->layer->minfeaturesize)
else IF_GET_LONG("maxfeatures", php_layer->layer->maxfeatures)
else IF_GET_LONG("startindex", php_layer->layer->startindex)
else IF_GET_LONG("transform", php_layer->layer->transform)
else IF_GET_LONG("labelcache", php_layer->layer->labelcache)
else IF_GET_LONG("postlabelcache", php_layer->layer->postlabelcache)
Expand Down Expand Up @@ -354,29 +355,30 @@ PHP_METHOD(layerObj, __set)
msSetLayerOpacity(php_layer->layer,Z_LVAL_P(value));
} else
IF_SET_LONG("status", php_layer->layer->status, value)
else IF_SET_LONG("debug", php_layer->layer->debug, value)
else IF_SET_STRING("classitem", php_layer->layer->classitem, value)
else IF_SET_STRING("bandsitem", php_layer->layer->bandsitem, value)
else IF_SET_STRING("classgroup", php_layer->layer->classgroup, value)
else IF_SET_STRING("name", php_layer->layer->name, value)
else IF_SET_STRING("group", php_layer->layer->group, value)
else IF_SET_STRING("data", php_layer->layer->data, value)
else IF_SET_LONG("type", php_layer->layer->type, value)
else IF_SET_LONG("dump", php_layer->layer->dump, value)
else IF_SET_DOUBLE("tolerance", php_layer->layer->tolerance, value)
else IF_SET_LONG("toleranceunits", php_layer->layer->toleranceunits, value)
else IF_SET_LONG("sizeunits", php_layer->layer->sizeunits, value)
else IF_SET_DOUBLE("symbolscaledenom", php_layer->layer->symbolscaledenom, value)
else IF_SET_DOUBLE("minscaledenom", php_layer->layer->minscaledenom, value)
else IF_SET_DOUBLE("maxscaledenom", php_layer->layer->maxscaledenom, value)
else IF_SET_LONG("minfeaturesize", php_layer->layer->minfeaturesize, value)
else IF_SET_DOUBLE("labelminscaledenom", php_layer->layer->labelminscaledenom, value)
else IF_SET_DOUBLE("labelmaxscaledenom", php_layer->layer->labelmaxscaledenom, value)
else IF_SET_DOUBLE("maxgeowidth", php_layer->layer->maxgeowidth, value)
else IF_SET_DOUBLE("mingeowidth", php_layer->layer->mingeowidth, value)
else IF_SET_STRING("mask", php_layer->layer->mask, value)
else IF_SET_LONG("maxfeatures", php_layer->layer->maxfeatures, value)
else IF_SET_LONG("startindex", php_layer->layer->startindex, value)
else IF_SET_STRING("encoding", php_layer->layer->encoding, value)
else IF_SET_LONG("debug", php_layer->layer->debug, value)
else IF_SET_STRING("classitem", php_layer->layer->classitem, value)
else IF_SET_STRING("bandsitem", php_layer->layer->bandsitem, value)
else IF_SET_STRING("classgroup", php_layer->layer->classgroup, value)
else IF_SET_STRING("name", php_layer->layer->name, value)
else IF_SET_STRING("group", php_layer->layer->group, value)
else IF_SET_STRING("data", php_layer->layer->data, value)
else IF_SET_LONG("type", php_layer->layer->type, value)
else IF_SET_LONG("dump", php_layer->layer->dump, value)
else IF_SET_DOUBLE("tolerance", php_layer->layer->tolerance, value)
else IF_SET_LONG("toleranceunits", php_layer->layer->toleranceunits, value)
else IF_SET_LONG("sizeunits", php_layer->layer->sizeunits, value)
else IF_SET_DOUBLE("symbolscaledenom", php_layer->layer->symbolscaledenom, value)
else IF_SET_DOUBLE("minscaledenom", php_layer->layer->minscaledenom, value)
else IF_SET_DOUBLE("maxscaledenom", php_layer->layer->maxscaledenom, value)
else IF_SET_LONG("minfeaturesize", php_layer->layer->minfeaturesize, value)
else IF_SET_DOUBLE("labelminscaledenom", php_layer->layer->labelminscaledenom, value)
else IF_SET_DOUBLE("labelmaxscaledenom", php_layer->layer->labelmaxscaledenom, value)
else IF_SET_DOUBLE("maxgeowidth", php_layer->layer->maxgeowidth, value)
else IF_SET_DOUBLE("mingeowidth", php_layer->layer->mingeowidth, value)
else IF_SET_STRING("mask", php_layer->layer->mask, value)
else IF_SET_LONG("maxfeatures", php_layer->layer->maxfeatures, value)
else IF_SET_LONG("startindex", php_layer->layer->startindex, value)
else IF_SET_LONG("transform", php_layer->layer->transform, value)
else IF_SET_LONG("labelcache", php_layer->layer->labelcache, value)
else IF_SET_LONG("postlabelcache", php_layer->layer->postlabelcache, value)
Expand Down

0 comments on commit abd3493

Please sign in to comment.