Свойство | Type | Description | |
---|---|---|---|
$blnUploadable | boolean | True if one of the form fields is uploadable | |
$intId | integer | Current ID | |
$noReload | boolean | Reload the page after the form has been submitted | |
$objActiveRecord | Active record | ||
$onsubmit | array | Form attribute "onsubmit" | |
$procedure | array | WHERE clause of the database query | |
$root | array | IDs of all root records | |
$strField | string | Name of the current field | |
$strInputName | string | Name attribute of the current input field | |
$strPalette | string | Name of the current palette | |
$strTable | string | Name of the current table | |
$values | array | Values for the WHERE clause of the database query | |
$varValue | mixed | Value of the current field |
Méthode | Description | |
---|---|---|
__get ( string $strKey ) : mixed | Return an object property | |
__set ( string $strKey, mixed $varValue ) | Set an object property | |
getPalette ( ) : string | Return the name of the current palette | |
help ( string $strClass = '' ) : string | Return the field explanation as HTML string |
Méthode | Description | |
---|---|---|
combiner ( array $names ) : array | Generate possible palette names from an array by taking the first value and either adding or not adding the following values | |
generateButtons ( array $arrRow, string $strTable, array $arrRootIds = [], boolean $blnCircularReference = false, array $arrChildRecordIds = null, string $strPrevious = null, string $strNext = null ) : string | Compile buttons from the table configuration array and return them as HTML | |
generateGlobalButtons ( ) : string | Compile global buttons from the table configuration array and return them as HTML | |
row ( string $strPalette = null ) : string | Render a row of a box and return it as HTML string | |
save ( mixed $varValue ) | Save the current value | |
switchToEdit ( integer $id ) : string | Return a query string that switches into edit mode |
protected generateButtons ( array $arrRow, string $strTable, array $arrRootIds = [], boolean $blnCircularReference = false, array $arrChildRecordIds = null, string $strPrevious = null, string $strNext = null ) : string | ||
$arrRow | array | |
$strTable | string | |
$arrRootIds | array | |
$blnCircularReference | boolean | |
$arrChildRecordIds | array | |
$strPrevious | string | |
$strNext | string | |
Résultat | string |
protected generateGlobalButtons ( ) : string | ||
Résultat | string |
abstract public getPalette ( ) : string | ||
Résultat | string |
protected switchToEdit ( integer $id ) : string | ||
$id | integer | |
Résultat | string |
protected bool $blnUploadable | ||
Résultat | boolean |
protected bool $noReload | ||
Résultat | boolean |
protected Model,contao|FilesModel,contao $objActiveRecord | ||
Résultat |
protected array $procedure | ||
Résultat | array |
protected string $strField | ||
Résultat | string |
protected string $strInputName | ||
Résultat | string |
protected string $strPalette | ||
Résultat | string |
protected string $strTable | ||
Résultat | string |
protected array $values | ||
Résultat | array |