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 PgEntity

Pomm\Converter\PgEntity - Entity converter

Pomm\Converter\PgEntity 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/PgEntity.php
Methods summary
public
# __construct( Pomm\Object\BaseObjectMap $map )

constructor

constructor

Parameters

$map
Pomm\Object\BaseObjectMap
$map
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()
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()
Properties summary
protected mixed $map
#
Pomm 1.2 API documentation generated by ApiGen 2.8.0