src/Bond/Pg/Result.php
public function getFieldTypeCallbacks()
    {
        $types = array();

        $numFields = $this->numFields();
        for( $i = 0; $i < $numFields; $i++ ) {
            $types[pg_field_name( $this->resource, $i )] = TypeConversionFactory::get(
                pg_field_type( $this->resource, $i ),
                $this
            );
        }

        return $types;
    }
public function getFieldTypeCallbacks()
    {
        $types = array();

        $numFields = $this->numFields();
        for( $i = 0; $i < $numFields; $i++ ) {
            $types[pg_field_name( $this->resource, $i )] = TypeConversionFactory::get(
                pg_field_type( $this->resource, $i ),
                $this
            );
        }

        return $types;
    }
public function getFieldTypeCallbacks ( ) { $ types = array ( ) ; $ numFields = $ this -> numFields ( ) ; for ( $ i = 0 ; $ i < $ numFields ; $ i ++ ) { $ types [ pg_field_name ( $ this -> resource , $ i ) ] = TypeConversionFactory :: get ( pg_field_type ( $ this -> resource , $ i ) , $ this ) ; } return $ types ; }
Return a array of php callbacks to be applied to a result set
@param array $types
Return a array of php callbacks to be applied to a result set