phpImageCloud "What is id" function.
"What is id" function
imagecloud_whatisid
mixed imagecloud_whatisid(
array $items_array, int $x, int $y)
[line 309]
Get item id from (x,y)
Tags:
- return - Id of closest image
Parameters
-
array
$items_array
-
Array generated with imagecloud class ($imagecloud->getarray())
-
int
$x
-
X coordinate
-
int
$y
-
Y coordinate