프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$primary_key | |||
$table_name |
메소드 | 설명 | |
---|---|---|
__construct ( ) | ||
__get ( $name ) | ||
__isset ( $name ) | ||
__set ( $name, $value ) | ||
attributes ( ) | ||
delete ( ) | ||
findAll ( $condition = [] ) | ||
findAllBySql ( $sql, $binds = null ) | ||
findByPk ( $value ) : self | false | ||
findOne ( $condition = [] ) | ||
getAttribute ( $name ) | ||
getAttributes ( ) | ||
getError ( $key ) | ||
getErrors ( ) | ||
isNewRecord ( ) | ||
query ( $condition ) | ||
save ( ) | ||
setAttribute ( $name, $value ) | ||
setAttributes ( $set ) | ||
setError ( string $key, string $message = '' ) |
메소드 | 설명 | |
---|---|---|
afterDelete ( ) | ||
afterSave ( ) | ||
beforeDelete ( ) | ||
beforeSave ( ) | ||
getDb ( ) | ||
insert ( ) | ||
setIsNewRecord ( $set ) | ||
update ( ) |