Base class for all record classes generated by the dao compiler
| package |
jelix |
|---|---|
| subpackage |
dao |
check() : array|false
array|falselist of errors or false if ok
getDbProfile() : string
| since | 1.6.19 |
|---|---|
stringthe jDb profile used to retrieve the record
getPk() : mixed
| since | 1.0b3 |
|---|---|
mixedthe value or an array of values if there is several pk
getPrimaryKeyNames() : array
| see | \jDaoFactoryBase::getPrimaryKeyNames() |
|---|---|
| since | 1.0b3 |
arraylist of properties name which contains primary keys
getProperties() : array
getSelector() : string
stringthe dao selector
save() : integer
| since | 1.4 |
|---|---|
integer1 if success (the number of affected rows). False if the query has failed.
setDbProfile(string $profile)
Do not use. Used only by jDao.
| access |
protected |
|---|---|
string
setPk()
ERROR_REQUIRED
ERROR_BAD_TYPE
ERROR_BAD_FORMAT
ERROR_MAXLENGTH
ERROR_MINLENGTH
__dao_profile :