Back to TagField class

Method isRemoteSearch

public bool
isRemoteSearch
()
Check whether need to enable AJAX search
Returns
  • bool
Since
  • 4.0.0
Class: TagField
Project: Joomla

Method isRemoteSearch - Source code

/**
 * Check whether need to enable AJAX search
 *
 * @return  boolean
 *
 * @since   4.0.0
 */
public function isRemoteSearch()
{
    if ($this->element['remote-search']) {
        return !\in_array((string) $this->element['remote-search'], array('0', 'false', ''));
    }
    return $this->comParams->get('tag_field_ajax_mode', 1) == 1;
}