Searches for locations that begin with the text in $search.
public autocompleteLocation ( string $search ) : array | ||
$search | string | The text to search. |
return | array | An array of stdClass objects with 'name' and 'code' properties. |
public autocompleteLocation ( string $search ) : array | ||
$search | string | The text to search. |
return | array | An array of stdClass objects with 'name' and 'code' properties. |