php man page for cairo_svg_surface_get_versions

Query: cairo_svg_surface_get_versions

OS: php

Section: 3

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

CAIRO_SVG_SURFACE_GET_VERSIONS(3)					 1					 CAIRO_SVG_SURFACE_GET_VERSIONS(3)

CairoSvgSurface::getVersions - Used to retrieve a list of supported SVG versions

       Object oriented style (method):

SYNOPSIS
publicstatic array CairoSvgSurface::getVersions (void )
DESCRIPTION
Procedural style: array cairo_svg_get_versions (void ) Returns a numerically indexed array of currently available CairoSvgVersion constants. In order to retreive the string values for each item, use CairoSvgSurface::versionToString.
PARAMETERS
This function has no parameters.
RETURN VALUES
Returns a numerically indexed array of integer values.
EXAMPLES
Example #1 CairoSvgSurface::getVersions example <?php /* Grab our list of versions */ $versions = CairoSvgSurface::getVersions(); var_dump($versions); /* echo the string name of each version */ foreach($versions as $id) { echo CairoSvgSurface::versionToString($id), PHP_EOL; } ?> The above example will output something similar to: array(2) { [0]=> int(0) [1]=> int(1) } SVG 1.1 SVG 1.2 Example #2 Procedural style <?php /* Grab our list of versions */ $versions = cairo_svg_surface_get_versions(); var_dump($versions); /* echo the string name of each version */ foreach($versions as $id) { echo cairo_svg_surface_version_to_string($id), PHP_EOL; } ?> The above example will output something similar to: array(2) { [0]=> int(0) [1]=> int(1) } SVG 1.1 SVG 1.2
SEE ALSO
CairoSvgSurface::versionToString. PHP Documentation Group CAIRO_SVG_SURFACE_GET_VERSIONS(3)
Related Man Pages
cairo_available_fonts(3) - php
cairo_clip_rectangle_list(3) - php
cairo_svg_surface_get_versions(3) - php
rar_list(3) - php
stomp_get_read_timeout(3) - php
Similar Topics in the Unix Linux Community
Sketsa SVG Editor 5.1.2 (Default branch)
Sketsa SVG Editor 5.2 (Default branch)
Sketsa SVG Editor 5.3.2 (Default branch)
Sketsa SVG Editor 6.0 (Default branch)
All different versions of UNIX