PHP Class Contao\FormFieldModel

Inheritance: extends Model
Show file Open project: contao/core-bundle Class Usage Examples

Protected Properties

Property Type Description
$strTable string Table name

Public Methods

Method Description
findPublishedByPid ( integer $intPid, array $arrOptions = [] ) : Collection | FormFieldModel[] | FormFieldModel | null Find published form fields by their parent ID

Method Details

findPublishedByPid() public static method

Find published form fields by their parent ID
public static findPublishedByPid ( integer $intPid, array $arrOptions = [] ) : Collection | FormFieldModel[] | FormFieldModel | null
$intPid integer The form ID
$arrOptions array An optional options array
return Contao\Model\Collection | FormFieldModel[] | FormFieldModel | null A collection of models or null if there are no form fields

Property Details

$strTable protected static property

Table name
protected static string $strTable
return string