Overview

Namespaces

  • Pomm
    • Connection
    • Converter
    • Exception
    • Identity
    • Object
    • Query
    • Tools
    • Type

Classes

  • PgArray
  • PgBoolean
  • PgBytea
  • PgCircle
  • PgEntity
  • PgHStore
  • PgInterval
  • PgIntervalISO8601
  • PgJSON
  • PgLseg
  • PgLTree
  • PgNumber
  • PgNumberRange
  • PgPoint
  • PgRow
  • PgString
  • PgTimestamp
  • PgTsRange

Interfaces

  • ConverterInterface
  • Overview
  • Namespace
  • Class
  • Tree

Class PgPoint

Pomm\Converter\PgPoint - Geometric Point converter

Pomm\Converter\PgPoint implements Pomm\Converter\ConverterInterface
Namespace: Pomm\Converter
Package: Pomm
Copyright: 2011 - 2013 Grégoire HUBERT
License: {@link http://opensource.org/licenses/mit-license.php}
Author: Grégoire HUBERT <hubert.greg@gmail.com>
Version: $id$
Located at Converter/PgPoint.php
Methods summary
public
# __construct( String $class_name = 'Pomm\Type\Point' )

__construct()

__construct()

Parameters

$class_name
String
$class_name Optional fully qualified Point type class name.
public mixed
# fromPg( string $data, string $type = null )

Parameters

$data
string
$data Input string from Pg row result.
$type
string
$type Optional type.

Returns

mixed
PHP representation of the data.

See

Pomm\Converter\ConverterInterface

Implementation of

Pomm\Converter\ConverterInterface::fromPg()
public string
# toPg( mixed $data, string $type = null )

Parameters

$data
mixed
$data PHP representation.
$type
string
$type Optional type.

Returns

string
Pg converted string for input.

See

Pomm\Converter\ConverterInterface

Implementation of

Pomm\Converter\ConverterInterface::toPg()
Properties summary
protected mixed $class_name
#
Pomm 1.2 API documentation generated by ApiGen 2.8.0