|
update : 2015.11.03
php.shukuma.com검색:
|
CairoSvgSurface::getVersionscairo_svg_surface_get_versions(PECL cairo >= 0.1.0) CairoSvgSurface::getVersions -- cairo_svg_surface_get_versions — Used to retrieve a list of supported SVG versions 설명객체 기반 형식 (method):
public static array CairoSvgSurface::getVersions
( void
)
절차식 형식:
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(). 인수이 함수는 인수가 없습니다. 반환값Returns a numerically indexed array of integer values. 예제
Example #1 CairoSvgSurface::getVersions() example
<?php위 예제의 출력 예시:
array(2) {
[0]=>
int(0)
[1]=>
int(1)
}
SVG 1.1
SVG 1.2
Example #2 절차식 형식
<?php위 예제의 출력 예시:
array(2) {
[0]=>
int(0)
[1]=>
int(1)
}
SVG 1.1
SVG 1.2
|