PHP Class Phalcon\Db\Result\Serializable

Afficher le fichier Open project: phalcon/incubator

Protected Properties

Свойство Type Description
$data
$position

Méthodes publiques

Méthode Description
__construct ( $result ) Class constructor.
__wakeup ( ) Resets the internal pointer
fetch ( ) : array | boolean Fetches a row in the resultset
fetchAll ( ) : array Returns the full data in the resultset
numRows ( ) : integer Returns the number of rows in the internal array
setFetchMode ( integer $fetchMode ) Changes the fetch mode, this is not implemented yet

Method Details

__construct() public méthode

The resultset is completely fetched
public __construct ( $result )

__wakeup() public méthode

Resets the internal pointer
public __wakeup ( )

fetch() public méthode

Fetches a row in the resultset
public fetch ( ) : array | boolean
Résultat array | boolean

fetchAll() public méthode

Returns the full data in the resultset
public fetchAll ( ) : array
Résultat array

numRows() public méthode

Returns the number of rows in the internal array
public numRows ( ) : integer
Résultat integer

setFetchMode() public méthode

Changes the fetch mode, this is not implemented yet
public setFetchMode ( integer $fetchMode )
$fetchMode integer

Property Details

$data protected_oe property

protected $data

$position protected_oe property

protected $position