BaseWidget
extends WP_Widget
in package
Table of Contents
- init() : mixed
- register() : mixed
- sanitizeDate() : string
- sanitizeInt() : string
- sanitizeText() : mixed
Methods
init()
public
static init() : mixed
Return values
mixed —register()
public
static register() : mixed
Return values
mixed —sanitizeDate()
protected
sanitizeDate(string $date[, mixed $inFormat = false ][, mixed $outFormat = false ]) : string
Parameters
- $date : string
- $inFormat : mixed = false
- $outFormat : mixed = false
Return values
string —sanitizeInt()
protected
sanitizeInt(string|int $value[, int|false $min = false ][, int|false $max = false ]) : string
Parameters
- $value : string|int
- $min : int|false = false
- $max : int|false = false
Return values
string —Empty string for uncorrect value
sanitizeText()
protected
sanitizeText(mixed $value) : mixed
Parameters
- $value : mixed