- Symphony 2.2
-
› boot
9 -
› core
22 -
› email-gateways
3 -
› toolkit
67 -
› Unknown
33 - Delegates82
- Deprecated28
Versions
- 2.7.9
- 2.7.8
- 2.7.7
- 2.7.6
- 2.7.5
- 2.7.3
- 2.7.2
- 2.7.10
- 2.7.1
- 2.7.0
- 2.6.9
- 2.6.8
- 2.6.7
- 2.6.6
- 2.6.5
- 2.6.4
- 2.6.3
- 2.6.2
- 2.6.11
- 2.6.10
- 2.6.1
- 2.6.0
- 2.5.3
- 2.5.2
- 2.5.1
- 2.5.0
- 2.4
- 2.3.6
- 2.3.5
- 2.3.4
- 2.3.3
- 2.3.2
- 2.3.1
- 2.3
- 2.2.5
- 2.2.4
- 2.2.3
- 2.2.2
- 2.2.1
- 2.2
Options
public class Widget
class.widget.php #10Widget is a utility class that offers a number miscellaneous of functions to help generate common HTML Forms elements as XMLElement objects for inclusion in Symphony backend pages.
Methods
static XMLElement Anchor()
Generates a XMLElement representation of <a>
Parameters
static XMLElement Form()
Generates a XMLElement representation of <form>
Parameters
static XMLElement Input()
Generates a XMLElement representation of <input>
Parameters
static XMLElement Label()
Generates a XMLElement representation of <label>
Parameters
static XMLElement Select()
Generates a XMLElement representation of a <select>
. This uses
the private function __SelectBuildOption()
to build XMLElements of
options given the $options
array.
Parameters
See Also
static XMLElement Table()
Generates a XMLElement representation of <table>
This is a simple way to create generic Symphony table wrapper
Parameters
static XMLElement TableBody()
Generates a XMLElement representation of <tbody>
from an array
containing <tr>
XMLElements
Parameters
See Also
static XMLElement TableData()
Generates a XMLElement representation of a <td>
.
Parameters
static XMLElement TableHead()
Generates a XMLElement representation of <thead>
from an array
containing column names and any other attributes.
Parameters
static XMLElement TableRow()
Generates a XMLElement representation of <tr>
from an array
containing column names and any other attributes.
Parameters
static XMLElement Textarea()
Generates a XMLElement representation of <textarea>
Parameters
static XMLElement wrapFormElementWithError()
Will wrap a <div>
around a desired element to trigger the default
Symphony error styling.