Property | 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 |
Method | 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 |
Method | 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 | |
return | string |
protected generateGlobalButtons ( ) : string | ||
return | string |
abstract public getPalette ( ) : string | ||
return | string |
protected switchToEdit ( integer $id ) : string | ||
$id | integer | |
return | string |
protected bool $blnUploadable | ||
return | boolean |
protected bool $noReload | ||
return | boolean |
protected Model,contao|FilesModel,contao $objActiveRecord | ||
return |
protected array $procedure | ||
return | array |
protected string $strInputName | ||
return | string |
protected string $strPalette | ||
return | string |
protected array $values | ||
return | array |