Solver for result index value with call-back method.
Implements SearchableResult. Definition at line 385 of file class_DatabaseResult.php. References find(), and getFoundValue(). 00385 { 00386 // By default nothing is found 00387 $indexValue = 0; 00388 00389 // Is the element in result itself found? 00390 if ($this->find($databaseColumn)) { 00391 // Use this value 00392 $indexValue = $this->getFoundValue(); 00393 } elseif ($this->find($wrapperInstance->getIndexKey())) { 00394 // Use this value 00395 $indexValue = $this->getFoundValue(); 00396 } 00397 00398 // Set the index 00399 call_user_func_array($callBack, array($indexValue)); 00400 }
Here is the call graph for this function:
![]()
|
1.5.6