RepeaterPage::removeStatus()

Remove the given status from this repeater item

Overrides the parent so that publishing a genuinely unpublished item (statusUnpublished without statusOn) restores the statusOn flag, consistent with the status that items published from the page editor receive. If the removed mask explicitly includes statusOn, it is not restored.

Usage

$repeaterPage->removeStatus($statusFlag);

Arguments

NameType(s)Description
$statusFlagint string

Status flag constant or string representation (hidden, locked, unpublished, etc.)

Return value

$this

Object instance it was called from (method supports fluent interface).

See Also


RepeaterPage methods and properties

API reference based on ProcessWire core version 3.0.275