Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Basket
findone
Basket::findone PHP Method
Basket Class Documentation
Show file
Open project: bcosca/fatfree-core
findone()
public
method
Return first item that matches key/value pair
public
findone
(
$key
,
$val
) :
object
| FALSE
$key
string
$val
mixed
return
object
| FALSE
function findone($key, $val) { return ($data = $this->find($key, $val)) ? $data[0] : FALSE; }
Basket
__construct
checkout
clear
copyfrom
copyto
count
drop
dry
erase
exists
find
findone
get
load
reset
save
set