outputformatObj
final class outputformatObj (View source)
Instance of outputformatObj is always embedded inside the mapObj
_.
It is uses a read only. No constructor available (coming soon, see ticket 979)
Properties
string | $driver | ||
string | $extension | ||
int | $imagemode | MSIMAGEMODE* value. |
|
string | $mimetype | ||
string | $name | ||
int | $renderer | ||
int | $transparent |
Methods
Returns the associated value for the format option property passed as argument. Returns an empty string if property not found.
Set object property to a new value.
Add or Modify the format option list. return true on success.
Checks some internal consistency issues, Returns MS_SUCCESS or MS_FAILURE. Some problems are fixed up internally. May produce debug output if issues encountered.
Details
final string
getOption(string $property_name)
Returns the associated value for the format option property passed as argument. Returns an empty string if property not found.
final int
set(string $property_name, $new_value)
Set object property to a new value.
final void
setOption(string $property_name, string $new_value)
Add or Modify the format option list. return true on success.
.. code-block:: php $oMap->outputformat->setOption("OUTPUT_TYPE", "RASTER");
final int
validate()
Checks some internal consistency issues, Returns MS_SUCCESS or MS_FAILURE. Some problems are fixed up internally. May produce debug output if issues encountered.