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
| Name | Type(s) | Description |
|---|---|---|
$statusFlag | int string | Status flag constant or string representation (hidden, locked, unpublished, etc.) |
Return value
$thisObject 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