PHP 클래스 Nette\Database\ResultSet

상속: implements Iterator, implements Nette\Database\IRowContainer, use trait Nette\SmartObject
파일 보기 프로젝트 열기: nette/database 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( Connection $connection, $queryString, array $params )
current ( )
dump ( ) : void Displays complete result set as HTML table for debug purposes.
fetch ( )
fetchAll ( )
fetchAssoc ( $path )
fetchField ( $column ) : mixed | FALSE Fetches single field.
fetchPairs ( $key = NULL, $value = NULL )
getColumnCount ( ) : integer
getConnection ( ) : Connection
getParameters ( ) : array
getPdoStatement ( ) : PDOStatement
getQueryString ( ) : string
getRowCount ( ) : integer
getTime ( ) : float
key ( )
next ( )
normalizeRow ( $row ) : array Normalizes result row.
rewind ( ) ******************* interface Iterator ****************d*g*
valid ( )

메소드 상세

__construct() 공개 메소드

public __construct ( Connection $connection, $queryString, array $params )
$connection Connection
$params array

current() 공개 메소드

public current ( )

dump() 공개 메소드

Displays complete result set as HTML table for debug purposes.
public dump ( ) : void
리턴 void

fetch() 공개 메소드

public fetch ( )

fetchAll() 공개 메소드

public fetchAll ( )

fetchAssoc() 공개 메소드

public fetchAssoc ( $path )

fetchField() 공개 메소드

Fetches single field.
public fetchField ( $column ) : mixed | FALSE
리턴 mixed | FALSE

fetchPairs() 공개 메소드

public fetchPairs ( $key = NULL, $value = NULL )

getColumnCount() 공개 메소드

public getColumnCount ( ) : integer
리턴 integer

getConnection() 공개 메소드

public getConnection ( ) : Connection
리턴 Connection

getParameters() 공개 메소드

public getParameters ( ) : array
리턴 array

getPdoStatement() 공개 메소드

public getPdoStatement ( ) : PDOStatement
리턴 PDOStatement

getQueryString() 공개 메소드

public getQueryString ( ) : string
리턴 string

getRowCount() 공개 메소드

public getRowCount ( ) : integer
리턴 integer

getTime() 공개 메소드

public getTime ( ) : float
리턴 float

key() 공개 메소드

public key ( )

next() 공개 메소드

public next ( )

normalizeRow() 공개 메소드

Normalizes result row.
public normalizeRow ( $row ) : array
리턴 array

rewind() 공개 메소드

******************* interface Iterator ****************d*g*
public rewind ( )

valid() 공개 메소드

public valid ( )