final class ZoneEditFormParser (View source)

Decodes the zone editor's POST: the record[] rows with their trailing _complete marker, the checkbox encoding of "disabled", the form_complete marker at the end of the form, and the fields around the table.

Methods

fromPost(array $post, int $zoneId, string $zoneName, int $userId, string $username)

No description

Details

static ZoneEditSubmission fromPost(array $post, int $zoneId, string $zoneName, int $userId, string $username)

No description

Parameters

array $post

The POST fields as submitted

int $zoneId
string $zoneName
int $userId
string $username

Return Value

ZoneEditSubmission