PHP 클래스 Zend_Db_Table_Select

상속: extends Zend_Db_Select
파일 보기 프로젝트 열기: dbpatch/dbpatch 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$_info array Table schema for parent Zend_Db_Table.
$_integrityCheck array Table integrity override.
$_table Zend_Db_Table_Abstract Table instance that created this select object

공개 메소드들

메소드 설명
__construct ( Zend_Db_Table_Abstract $table ) Class constructor
assemble ( ) : string | null Performs a validation on the select query before passing back to the parent class.
from ( array | string | Zend_Db_Expr | Zend_Db_Table_Abstract $name, array | string | Zend_Db_Expr $cols = self::SQL_WILDCARD, string $schema = null ) : Zend_Db_Table_Select Adds a FROM table and optional columns to the query.
getTable ( ) : Zend_Db_Table_Abstract Return the table that created this select object
isReadOnly ( ) : boolean Tests query to determine if expressions or aliases columns exist.
setIntegrityCheck ( $flag = true ) : Zend_Db_Select Sets the integrity check flag.
setTable ( Zend_Db_Table_Abstract $table ) : Zend_Db_Select Sets the primary table name and retrieves the table schema.

메소드 상세

__construct() 공개 메소드

Class constructor
public __construct ( Zend_Db_Table_Abstract $table )
$table Zend_Db_Table_Abstract

assemble() 공개 메소드

Ensures that only columns from the primary Zend_Db_Table are returned in the result.
public assemble ( ) : string | null
리턴 string | null This object as a SELECT string (or null if a string cannot be produced)

from() 공개 메소드

The table name can be expressed
public from ( array | string | Zend_Db_Expr | Zend_Db_Table_Abstract $name, array | string | Zend_Db_Expr $cols = self::SQL_WILDCARD, string $schema = null ) : Zend_Db_Table_Select
$name array | string | Zend_Db_Expr | Zend_Db_Table_Abstract The table name or an associative array relating table name to correlation name.
$cols array | string | Zend_Db_Expr The columns to select from this table.
$schema string The schema name to specify, if any.
리턴 Zend_Db_Table_Select This Zend_Db_Table_Select object.

getTable() 공개 메소드

Return the table that created this select object
public getTable ( ) : Zend_Db_Table_Abstract
리턴 Zend_Db_Table_Abstract

isReadOnly() 공개 메소드

Tests query to determine if expressions or aliases columns exist.
public isReadOnly ( ) : boolean
리턴 boolean

setIntegrityCheck() 공개 메소드

Setting this flag to false skips the checks for table joins, allowing 'hybrid' table rows to be created.
public setIntegrityCheck ( $flag = true ) : Zend_Db_Select
리턴 Zend_Db_Select This Zend_Db_Select object.

setTable() 공개 메소드

Sets the primary table name and retrieves the table schema.
public setTable ( Zend_Db_Table_Abstract $table ) : Zend_Db_Select
$table Zend_Db_Table_Abstract
리턴 Zend_Db_Select This Zend_Db_Select object.

프로퍼티 상세

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

Table schema for parent Zend_Db_Table.
protected array $_info
리턴 array

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

Table integrity override.
protected array $_integrityCheck
리턴 array

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

Table instance that created this select object
protected Zend_Db_Table_Abstract $_table
리턴 Zend_Db_Table_Abstract