PHP Class Habari\FormControlAutocomplete

Inheritance: extends FormControl
Afficher le fichier Open project: habari/system

Méthodes publiques

Свойство Type Description
$outpre

Méthodes publiques

Méthode Description
_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.

Method Details

_extend() public méthode

Called upon construct. Sets control properties
public _extend ( )

get() public méthode

public get ( Theme $theme )
$theme Theme

pre_out() public méthode

Return the HTML/script required for this control. Do it only once.
public pre_out ( ) : string
Résultat string The HTML/javascript required for this control.

set_ajax() public méthode

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)
Résultat FormControlAutocomplete $this

Property Details

$outpre static_oe public_oe property

static public $outpre