FormModelBuilderDBAddress
extends FormModelBuilderDB
in package
Tags
Table of Contents
- CONFIG_FIELDS = 'fields'
- DEFAULT_RECORDS_PER_PAGE = 20
- $_defaultFields : array<string|int, string>
- $_pFieldnames : Fieldnames
- $_pInputModelDBFactory : InputModelDBFactory
- $_values : array<string|int, mixed>
- __construct() : mixed
- callbackValueInputModelIsFilterable() : mixed
- callbackValueInputModelIsHidden() : mixed
- createButtonModelFieldsConfigByCategory() : InputModelDB
- createInputModelButton() : InputModelLabel
- createInputModelEmbedCode() : InputModelLabel
- createInputModelFieldsConfigByCategory() : mixed
- createInputModelFilter() : InputModelDB
- createInputModelName() : InputModelDB
- createInputModelPictureTypes() : InputModelDB
- createInputModelRecordsPerPage() : InputModelDB
- createInputModelSortBy() : InputModelDB
- createInputModelSortOrder() : InputModelDB
- createInputModelTemplate() : InputModelDB
- createSortableFieldList() : InputModelDB
- generate() : FormModel
- getInputModelIsFilterable() : InputModelDB
- getInputModelIsHidden() : InputModelDB
- getOnlyDefaultSortByFields() : array<string|int, mixed>
- setValues() : mixed
- getFieldnames() : Fieldnames
- getInputModelDBFactory() : InputModelDBFactory
- getValue() : mixed
- readExposes() : array<string|int, mixed>
- readFieldnames() : array<string|int, mixed>
- readFilters() : array<string|int, mixed>
- readTemplatePaths() : array<string|int, mixed>
- setFieldnames() : mixed
- setInputModelDBFactory() : mixed
- arrayColumnTrue() : array<string|int, mixed>
Constants
CONFIG_FIELDS
public
mixed
CONFIG_FIELDS
= 'fields'
DEFAULT_RECORDS_PER_PAGE
public
mixed
DEFAULT_RECORDS_PER_PAGE
= 20
Properties
$_defaultFields
private
static array<string|int, string>
$_defaultFields
= array('Anrede', 'Vorname', 'Name', 'Zusatz1', 'Email', 'Telefon1', 'Telefax1')
$_pFieldnames
private
Fieldnames
$_pFieldnames
= null
$_pInputModelDBFactory
private
InputModelDBFactory
$_pInputModelDBFactory
= null
$_values
private
array<string|int, mixed>
$_values
= array()
Methods
__construct()
public
__construct() : mixed
Return values
mixed —callbackValueInputModelIsFilterable()
public
callbackValueInputModelIsFilterable(InputModelBase $pInputModel, string $key) : mixed
Parameters
- $pInputModel : InputModelBase
- $key : string
-
Name of input
Return values
mixed —callbackValueInputModelIsHidden()
public
callbackValueInputModelIsHidden(InputModelBase $pInputModel, string $key) : mixed
Parameters
- $pInputModel : InputModelBase
- $key : string
-
Name of input
Return values
mixed —createButtonModelFieldsConfigByCategory()
public
abstract createButtonModelFieldsConfigByCategory(string $category, array<string|int, mixed> $fieldNames, string $categoryLabel) : InputModelDB
Parameters
- $category : string
- $fieldNames : array<string|int, mixed>
- $categoryLabel : string
Return values
InputModelDB —createInputModelButton()
public
createInputModelButton() : InputModelLabel
Return values
InputModelLabel —createInputModelEmbedCode()
public
createInputModelEmbedCode() : InputModelLabel
Return values
InputModelLabel —createInputModelFieldsConfigByCategory()
public
abstract createInputModelFieldsConfigByCategory(mixed $category, mixed $fieldNames, mixed $categoryLabel) : mixed
Parameters
- $category : mixed
- $fieldNames : mixed
- $categoryLabel : mixed
Return values
mixed —createInputModelFilter()
public
createInputModelFilter() : InputModelDB
Return values
InputModelDB —createInputModelName()
public
createInputModelName() : InputModelDB
Return values
InputModelDB —createInputModelPictureTypes()
public
createInputModelPictureTypes() : InputModelDB
Return values
InputModelDB —createInputModelRecordsPerPage()
public
createInputModelRecordsPerPage() : InputModelDB
Return values
InputModelDB —createInputModelSortBy()
public
createInputModelSortBy(string $module) : InputModelDB
Parameters
- $module : string
Return values
InputModelDB —createInputModelSortOrder()
public
createInputModelSortOrder() : InputModelDB
Return values
InputModelDB —createInputModelTemplate()
public
createInputModelTemplate(string $path) : InputModelDB
Parameters
- $path : string
Return values
InputModelDB —createSortableFieldList()
public
createSortableFieldList(string $module, string $htmlType) : InputModelDB
Parameters
- $module : string
- $htmlType : string
Return values
InputModelDB —generate()
public
generate(string $pageSlug[, mixed $listViewId = null ]) : FormModel
Parameters
- $pageSlug : string
- $listViewId : mixed = null
Return values
FormModel —getInputModelIsFilterable()
public
getInputModelIsFilterable() : InputModelDB
Return values
InputModelDB —getInputModelIsHidden()
public
getInputModelIsHidden() : InputModelDB
Return values
InputModelDB —getOnlyDefaultSortByFields()
public
getOnlyDefaultSortByFields(string $module) : array<string|int, mixed>
Parameters
- $module : string
Return values
array<string|int, mixed> —setValues()
public
setValues(array<string|int, mixed> $values) : mixed
Parameters
- $values : array<string|int, mixed>
Return values
mixed —getFieldnames()
protected
getFieldnames() : Fieldnames
Return values
Fieldnames —getInputModelDBFactory()
protected
getInputModelDBFactory() : InputModelDBFactory
Return values
InputModelDBFactory —getValue()
protected
getValue(string $key[, mixed $default = null ]) : mixed
Parameters
- $key : string
- $default : mixed = null
Return values
mixed —readExposes()
protected
readExposes() : array<string|int, mixed>
Return values
array<string|int, mixed> —readFieldnames()
protected
readFieldnames(string $module[, bool $withInactive = false ]) : array<string|int, mixed>
Parameters
- $module : string
- $withInactive : bool = false
Return values
array<string|int, mixed> —readFilters()
protected
readFilters(mixed $module) : array<string|int, mixed>
Parameters
- $module : mixed
Return values
array<string|int, mixed> —readTemplatePaths()
protected
readTemplatePaths( $directory[, $pattern = '*' ]) : array<string|int, mixed>
Parameters
Return values
array<string|int, mixed> —setFieldnames()
protected
setFieldnames(Fieldnames $pFieldnames) : mixed
Parameters
- $pFieldnames : Fieldnames
Return values
mixed —setInputModelDBFactory()
protected
setInputModelDBFactory(InputModelDBFactory $pInputModelDBFactory) : mixed
Parameters
- $pInputModelDBFactory : InputModelDBFactory
Return values
mixed —arrayColumnTrue()
private
arrayColumnTrue(array<string|int, mixed> $array, string $column) : array<string|int, mixed>
Parameters
- $array : array<string|int, mixed>
- $column : string