PHP 클래스 Phalcon\Db\Result\Serializable

파일 보기 프로젝트 열기: phalcon/incubator

보호된 프로퍼티들

프로퍼티 타입 설명
$data
$position

공개 메소드들

메소드 설명
__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

메소드 상세

__construct() 공개 메소드

The resultset is completely fetched
public __construct ( $result )

__wakeup() 공개 메소드

Resets the internal pointer
public __wakeup ( )

fetch() 공개 메소드

Fetches a row in the resultset
public fetch ( ) : array | boolean
리턴 array | boolean

fetchAll() 공개 메소드

Returns the full data in the resultset
public fetchAll ( ) : array
리턴 array

numRows() 공개 메소드

Returns the number of rows in the internal array
public numRows ( ) : integer
리턴 integer

setFetchMode() 공개 메소드

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

프로퍼티 상세

$data 보호되어 있는 프로퍼티

protected $data

$position 보호되어 있는 프로퍼티

protected $position