HumHub Documentation (unofficial)

PostEditForm extends Model

PostEditForm

Tags
since
1.11

Table of Contents

Properties

$fileList  : array<string|int, mixed>
The list of files attached to a Post
$post  : Post

Methods

formName()  : mixed
load()  : mixed
rules()  : mixed
save()  : bool
Saves the form
validate()  : mixed

Properties

$fileList

The list of files attached to a Post

public array<string|int, mixed> $fileList

Methods

load()

public load(mixed $data[, mixed $formName = null ]) : mixed
Parameters
$data : mixed
$formName : mixed = null
Tags
inheritdoc

validate()

public validate([mixed $attributeNames = null ][, mixed $clearErrors = true ]) : mixed
Parameters
$attributeNames : mixed = null
$clearErrors : mixed = true
Tags
inheritdoc

        
On this page

Search results