Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
atk4
data
Model
withID
atk4\data\Model::withID PHP Method
Model Class Documentation
Datei anzeigen
Open project: atk4/data
withID()
public
method
Shortcut for using addCondition(id_field, $id).
public
withID
(
mixed
$id
)
$id
mixed
public function withID($id) { return $this->addCondition($this->id_field, $id); }
Model
__clone
__construct
__debugInfo
_hasReference
_init
_rawInsert
_unset
action
addCondition
addExpression
addField
addFields
addRef
allFields
asModel
atomic
delete
duplicate
each
export
get
getIterator
getRef
getRefs
hasMany
hasOne
hasRef
import
init
insert
isDirty
join
leftJoin
load
loadAny
loadBy
loaded
newInstance
normalizeFieldName
offsetExists
offsetGet
offsetSet
offsetUnset
onlyFields
rawIterator
ref
refLink
refModel
reload
save
saveAndUnload
saveAs
set
setDefaults
setLimit
setOrder
tryLoad
tryLoadAny
tryLoadBy
unload
withID
withPersistence