Docs Goabase

Form
in package

Table of Contents

Methods

addAttribute()  : string
getAreaSubmitBox()  : string
Get's the submit button below textarea via page_diff_elements.tpl.php
getCheckbox()  : string
Zeigt eine Checkbox Weitere Parameter in dieser Reihenfolge: Text, Check, Value, CSS
getChecked()  : string
compares the first with the second and returns
getHidden()  : string
erzeugt ein <input type=hidden name=$name value=$val>
getHighlightField()  : string
hidden input id="hw" for the highlighting search words unset the session JsHighlight
getInput()  : string
Generates an <input> or <select> element.
getOptions()  : string
Create select options from an 1-dim or 2-dim array The 1-dim gets an auto index from php, the 2-dim an index from the code
getOptionsCountry()  : string
Returns selectbox options of countries, country name by user language de/en
getRadio()  : string
Zeigt beliebig viele Radio-Buttons für values 0,1,2 etc
getRadioSingle()  : string
Zeigt eine Checkbox Weitere Parameter in dieser Reihenfolge: value, id, content, css, checked (true|false), title
getRadioWithLabel()  : string
Gets input type radio with css
getSelBoxCountries()  : string
Selectbox für Parties und Member unter Select2
getSubmit()  : string
Zeigt einen Submit-Button Checkbox Weitere Parameter in dieser Reihenfolge: Value, Css, title
getTextarea()  : string
Zeigt eine textarea Weitere Parameter in dieser Reihenfolge: Value, Css, placeholder Wenn id leer, wird name zu id kopiert
getSelect()  : string
Generates a <select> element with pre-generated <option>s.
isUsingValuesOnly()  : bool
renderOption()  : string

Methods

addAttribute()

public static addAttribute(array<string|int, mixed>|string $value, int|string $key, string $input) : string
Parameters
$value : array<string|int, mixed>|string
$key : int|string
$input : string
Return values
string

getAreaSubmitBox()

Get's the submit button below textarea via page_diff_elements.tpl.php

public static getAreaSubmitBox([array<string|int, mixed> $change = [] ]) : string
Parameters
$change : array<string|int, mixed> = []
  • array of paras
Tags
throws
Exception
Return values
string

getCheckbox()

Zeigt eine Checkbox Weitere Parameter in dieser Reihenfolge: Text, Check, Value, CSS

public static getCheckbox(string $strName) : string
Parameters
$strName : string

des Feldes

Tags
throws
RandomException
Return values
string
  • the checkbox

getChecked()

compares the first with the second and returns

public static getChecked(mixed $strSQLVar, mixed $strHtmlVar) : string
Parameters
$strSQLVar : mixed
$strHtmlVar : mixed
Return values
string
  • ' checked="checked"' | ''

getHidden()

erzeugt ein <input type=hidden name=$name value=$val>

public static getHidden(string $name, mixed $val[, string $fieldID = '' ]) : string
Parameters
$name : string
$val : mixed
$fieldID : string = ''
Tags
throws
RandomException
Return values
string

getHighlightField()

hidden input id="hw" for the highlighting search words unset the session JsHighlight

public static getHighlightField() : string
Return values
string

getInput()

Generates an <input> or <select> element.

public static getInput([array<string|int, mixed> $atts = [] ]) : string
  • Creates an or if 'type' is not specified or is not 'select'.
  • For element. Must include an 'options' key containing a string of pre-generated
Tags
throws
Exception
Return values
string

The generated HTML for the select element.

isUsingValuesOnly()

private static isUsingValuesOnly(array<string|int, mixed> $options) : bool
Parameters
$options : array<string|int, mixed>
Return values
bool

renderOption()

private static renderOption(bool $isSelected, int|string $value, int|string $description) : string
Parameters
$isSelected : bool
$value : int|string
$description : int|string
Return values
string

        
On this page

Search results