Back to Language class

Method setLowerLimitSearchWordCallback

public callable
setLowerLimitSearchWordCallback
(callable $function)
Setter for the lowerLimitSearchWordCallback function.
Parameters
  • callable $function Function name or actual function.
Returns
  • callable The previous function.
Since
  • 1.7.0
Class: Language
Project: Joomla

Method setLowerLimitSearchWordCallback - Source code

/**
 * Setter for the lowerLimitSearchWordCallback function.
 *
 * @param   callable  $function  Function name or actual function.
 *
 * @return  callable  The previous function.
 *
 * @since   1.7.0
 */
public function setLowerLimitSearchWordCallback(callable $function)
{
    $previous = $this->lowerLimitSearchWordCallback;
    $this->lowerLimitSearchWordCallback = $function;
    return $previous;
}