ObjList::find_match
5.x ObjList.php | ObjList::find_match($obj_c) |
4.x ObjList.php | ObjList::find_match($obj_c) |
File
- classes/
ObjList.php, line 112
Class
Code
function find_match($obj_c) { // This actually returns an object if it can find
// it using index_of.
$c = $this->index_of($obj_c);
if ($c > -1) {
return $this->get_element($c);
}
else {
return false;
}
}