PHP Класс Habari\FormControlAutocomplete

Наследование: extends FormControl
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
$outpre

Открытые методы

Метод Описание
_extend ( ) Called upon construct. Sets control properties
get ( Theme $theme )
pre_out ( ) : string Return the HTML/script required for this control. Do it only once.
set_ajax ( string $url, boolean $ishtml = false ) : FormControlAutocomplete Set the URL to use for ajax callbacks.

Описание методов

_extend() публичный Метод

Called upon construct. Sets control properties
public _extend ( )

get() публичный Метод

public get ( Theme $theme )
$theme Theme

pre_out() публичный Метод

Return the HTML/script required for this control. Do it only once.
public pre_out ( ) : string
Результат string The HTML/javascript required for this control.

set_ajax() публичный Метод

The callback needs to accept at least the search term as the POSTed parameter "q"
public set_ajax ( string $url, boolean $ishtml = false ) : FormControlAutocomplete
$url string The URL to submit the AJAX request to
$ishtml boolean If true, the display response returned via AJAX is to be rendered as HTML (unescaped)
Результат FormControlAutocomplete $this

Описание свойств

$outpre статическое публичное свойство

static public $outpre