PHP 클래스 Pop\Db\Record\AbstractRecord

저자: Nick Sagona, III ([email protected])
파일 보기 프로젝트 열기: nicksagona/PopPHP 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$auto boolean Property that determines whether or not the primary ID is auto-increment or not
$columns array Column names of the database table
$finder array Original query finder, if primary ID is not set.
$primaryId string Primary ID column name of the database table
$rows array Rows of multiple return results from a database query in an ArrayObject format.
$sql Pop\Db\Sql Sql abstraction object
$tableName string Table name of the database table

공개 메소드들

메소드 설명
getResult ( ) : array Get the result rows.
sql ( ) : Sql Get the SQL abtraction object.

보호된 메소드들

메소드 설명
getOrder ( string $order ) : array Get the order by values

메소드 상세

getOrder() 보호된 메소드

Get the order by values
protected getOrder ( string $order ) : array
$order string
리턴 array

getResult() 공개 메소드

Get the result rows.
public getResult ( ) : array
리턴 array

sql() 공개 메소드

Get the SQL abtraction object.
public sql ( ) : Sql
리턴 Pop\Db\Sql

프로퍼티 상세

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

Property that determines whether or not the primary ID is auto-increment or not
protected bool $auto
리턴 boolean

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

Column names of the database table
protected array $columns
리턴 array

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

Original query finder, if primary ID is not set.
protected array $finder
리턴 array

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

Primary ID column name of the database table
protected string $primaryId
리턴 string

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

Rows of multiple return results from a database query in an ArrayObject format.
protected array $rows
리턴 array

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

Sql abstraction object
protected Sql,Pop\Db $sql
리턴 Pop\Db\Sql

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

Table name of the database table
protected string $tableName
리턴 string