Jelix 1.8.13

jacl2GroupsOfUserDaoRecord extends jDaoRecordBase
in package

Base class for all record classes generated by the dao compiler.

Tags
author

Laurent Jouanneau

copyright

2023 Laurent Jouanneau

see
https://www.jelix.org
licence

https://www.gnu.org/licenses/lgpl.html GNU Lesser General Public Licence, see LICENCE file

Table of Contents

ERROR_BAD_FORMAT  = 3
ERROR_BAD_TYPE  = 2
ERROR_MAXLENGTH  = 4
ERROR_MINLENGTH  = 5
ERROR_REQUIRED  = 1
$groups  : array<string|int, string>
$type  : mixed
$__dao_profile  : mixed
check()  : array<string|int, mixed>|false
check values in the properties of the record, according on the dao definition.
getDbProfile()  : string
getPk()  : mixed
return the value of fields corresponding to the primary key.
getPrimaryKeyNames()  : array<string|int, string>
getProperties()  : array<string|int, mixed>
getSelector()  : string
save()  : int
save the record.
setDbProfile()  : mixed
Sets the jDb profile used to retrieve the record.
setPk()  : mixed
set values on the properties which correspond to the primary key of the record This method accept a single or many values as parameter.

Constants

Properties

Methods

check()

check values in the properties of the record, according on the dao definition.

public check() : array<string|int, mixed>|false
Tags
Return values
array<string|int, mixed>|false

list of errors or false if ok

getDbProfile()

public getDbProfile() : string
Tags
since
1.6.19
Return values
string

the jDb profile used to retrieve the record

getPk()

return the value of fields corresponding to the primary key.

public getPk() : mixed
Tags
since
1.0b3
Return values
mixed

the value or an array of values if there is several pk

getSelector()

public abstract getSelector() : string
Tags
Return values
string

the dao selector

save()

save the record.

public save() : int
Tags
since
1.4
Return values
int

1 if success (the number of affected rows). False if the query has failed.

setDbProfile()

Sets the jDb profile used to retrieve the record.

public setDbProfile(string $profile) : mixed

Do not use. Used only by jDao.

Parameters
$profile : string
Tags
Return values
mixed

setPk()

set values on the properties which correspond to the primary key of the record This method accept a single or many values as parameter.

public setPk() : mixed
Tags
Return values
mixed

Search results