Свойство | Тип | Описание | |
---|---|---|---|
$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 |
Метод | Описание | |
---|---|---|
__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 |
Метод | Описание | |
---|---|---|
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 | |
Результат | string |
protected generateGlobalButtons ( ) : string | ||
Результат | string |
abstract public getPalette ( ) : string | ||
Результат | string |
protected switchToEdit ( integer $id ) : string | ||
$id | integer | |
Результат | string |
protected bool $blnUploadable | ||
Результат | boolean |
protected bool $noReload | ||
Результат | boolean |
protected Model,contao|FilesModel,contao $objActiveRecord | ||
Результат |
protected array $procedure | ||
Результат | array |
protected string $strInputName | ||
Результат | string |
protected string $strPalette | ||
Результат | string |
protected array $values | ||
Результат | array |