Function Module_admin->_strip_junk_words

Definitions

adminzone/pages/modules/admin.php

  • Strip junk words from the keywords representing a search.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No
  • Returns: array

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$words array No No required parameter N/A N/A Input words

Returns

  • Replaced, with junk words removed
  • Type: array
  • Set: N/A
  • Range: N/A

Preview

Code (PHP)

/**
 * Strip junk words from the keywords representing a search.
 *
 * @param  array $words Input words
 * @return array Replaced, with junk words removed
 */

public function _strip_junk_words(array $words) : array