PHP 클래스 DBmysqlIterator, glpi

상속: implements Iterator
파일 보기 프로젝트 열기: glpi-project/glpi 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( $dbconnexion, $table, $crit = "", $debug = false ) Constructor
__destruct ( )
current ( )
getSql ( ) Retrieve the SQL statement
key ( )
next ( )
numrows ( )
rewind ( )
valid ( )

비공개 메소드들

메소드 설명
analyseCrit ( array $crit, string $bool = "AND" ) : string Generate the SQL statement for a array of criteria
quoteName ( string $name ) : string Quote field name

메소드 상세

__construct() 공개 메소드

Constructor
public __construct ( $dbconnexion, $table, $crit = "", $debug = false )
$dbconnexion Database Connnexion (must be a CommonDBTM object)
$table string or array table name (optional when $crit have FROM entry)
$crit string or array of filed/values, ex array("id"=>1), if empty => all rows (default '')
$debug for log the request (default false)

__destruct() 공개 메소드

public __destruct ( )

current() 공개 메소드

public current ( )

getSql() 공개 메소드

Retrieve the SQL statement
부터: 9.1
public getSql ( )

key() 공개 메소드

public key ( )

next() 공개 메소드

public next ( )

numrows() 공개 메소드

public numrows ( )

rewind() 공개 메소드

public rewind ( )

valid() 공개 메소드

public valid ( )