Heratio Framework API Reference

sfForm
in package

Minimal sfForm stub for standalone mode.

Uses __call() to silently handle ANY method call so that form-related code paths don't crash. Provides renderFormTag() for templates that generate form HTML directly.

Table of Contents

Methods

__call()  : mixed
__construct()  : mixed
__get()  : mixed
__isset()  : bool
getErrorSchema()  : mixed
hasErrors()  : bool
isBound()  : bool
isValid()  : bool
render()  : string
renderFormTag()  : string
renderGlobalErrors()  : string
renderHiddenFields()  : string

Methods

__call()

public __call(string $method, array<string|int, mixed> $args) : mixed
Parameters
$method : string
$args : array<string|int, mixed>

__construct()

public __construct([mixed $defaults = [] ][, mixed $options = [] ][, mixed $CSRFSecret = null ]) : mixed
Parameters
$defaults : mixed = []
$options : mixed = []
$CSRFSecret : mixed = null

__get()

public __get(string $name) : mixed
Parameters
$name : string

__isset()

public __isset(string $name) : bool
Parameters
$name : string
Return values
bool

hasErrors()

public hasErrors() : bool
Return values
bool

isBound()

public isBound() : bool
Return values
bool

isValid()

public isValid() : bool
Return values
bool

render()

public render() : string
Return values
string

renderFormTag()

public renderFormTag(string $url[, array<string|int, mixed> $attributes = [] ]) : string
Parameters
$url : string
$attributes : array<string|int, mixed> = []
Return values
string

renderGlobalErrors()

public renderGlobalErrors() : string
Return values
string

renderHiddenFields()

public renderHiddenFields() : string
Return values
string

        
On this page

Search results