Propel 2 API
Class

Propel\Runtime\DataFetcher\AbstractDataFetcher

abstract class AbstractDataFetcher implements DataFetcherInterface

Abstract class for DataFetcher.

Methods

__construct(mixed $dataObject)

setDataObject(mixed $dataObject)

Sets the dataObject.

mixed getDataObject()

Returns the current data object that holds or references to actual data.

mixed|null fetchColumn(int $index = null)

Returns the data of the first column of the next row, based on this->fetch();

Details

at line 18
public __construct(mixed $dataObject)

Parameters

mixed $dataObject

at line 26
public setDataObject(mixed $dataObject)

Sets the dataObject.

Parameters

mixed $dataObject

at line 34
public mixed getDataObject()

Returns the current data object that holds or references to actual data.

Return Value

mixed

at line 42
public mixed|null fetchColumn(int $index = null)

Returns the data of the first column of the next row, based on this->fetch();

Parameters

int $index

Return Value

mixed|null