\midcom\datamanager\helperautocomplete

Experimental autocomplete helper

Summary

Methods
Properties
Constants
__construct()
get_querystring()
get_objects()
get_results()
add_head_elements()
get_widget_config()
create_item_label()
sort_items()
get_property_string()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
verify_request()
prepare_qb()
apply_constraints()
get_search_constraints()
$request
N/A

Properties

$request

$request : array

The request data we're working on

Type

array

Methods

__construct()

__construct(array  $data) 

Parameters

array $data

get_querystring()

get_querystring() 

get_objects()

get_objects() 

get_results()

get_results() 

add_head_elements()

add_head_elements(  $creation_mode_enabled = false,   $sortable = false) 

Parameters

$creation_mode_enabled
$sortable

get_widget_config()

get_widget_config(  $type) 

Parameters

$type

create_item_label()

create_item_label(  $object,   $result_headers,   $get_label_for) 

Parameters

$object
$result_headers
$get_label_for

sort_items()

sort_items(  $a,   $b) 

Parameters

$a
$b

get_property_string()

get_property_string(  $object,   $item_name) 

Parameters

$object
$item_name

verify_request()

verify_request() 

prepare_qb()

prepare_qb() 

apply_constraints()

apply_constraints(\midcom_core_query  $query, array  $constraints) 

Parameters

\midcom_core_query $query
array $constraints

get_search_constraints()

get_search_constraints()