SelectableOptionArray::getField() SelectableOptionArray::getField() SelectableOptionArray::getField() | null Field | Returns Field object these options are for | |
SelectableOptionArray::getItemKey() SelectableOptionArray::getItemKey($item) SelectableOptionArray::getItemKey($item) | (nothing) | | |
SelectableOptionArray::getPage() SelectableOptionArray::getPage() SelectableOptionArray::getPage() | NullPage Page | Returns page these options are for, if applicable (NullPage otherwise) | |
SelectableOptionArray::getProperty() SelectableOptionArray::getProperty(string $property) SelectableOptionArray::getProperty(string $property) | mixed null | Enables this WireArray to behave like the first item (for getting properties) | |
SelectableOptionArray::hasID() SelectableOptionArray::hasID(int $id) SelectableOptionArray::hasID(int $id) | SelectableOption bool | Is the given id present in these selectable options? | |
SelectableOptionArray::hasTitle() SelectableOptionArray::hasTitle(string $title) SelectableOptionArray::hasTitle(string $title) | SelectableOption bool | Is the given title present in these selectable options? | |
SelectableOptionArray::hasValue() SelectableOptionArray::hasValue(string $value) SelectableOptionArray::hasValue(string $value) | SelectableOption bool | Is the given value present in these selectable options? | |
SelectableOptionArray::id | int | | |
SelectableOptionArray::isIdentical() SelectableOptionArray::isIdentical(WireArray $items) SelectableOptionArray::isIdentical(WireArray $items, $strict = true) | bool | Is the given WireArray identical to this one? | |
SelectableOptionArray::isValidItem() SelectableOptionArray::isValidItem($item) SelectableOptionArray::isValidItem($item) | bool | Is the given item valid for storange in this array? | |
SelectableOptionArray::isValidKey() SelectableOptionArray::isValidKey($key) SelectableOptionArray::isValidKey($key) | bool | Is the given item key valid for use in this array? | |
SelectableOptionArray::makeBlankItem() SelectableOptionArray::makeBlankItem() SelectableOptionArray::makeBlankItem() | (nothing) | | |
SelectableOptionArray::of() SelectableOptionArray::of() SelectableOptionArray::of($of = null) | bool | Get or set output formatting mode | |
SelectableOptionArray::render() SelectableOptionArray::render() SelectableOptionArray::render() | string | Provide a default string rendering of these selectable options | |
SelectableOptionArray::set() SelectableOptionArray::set($key, $value) SelectableOptionArray::set($key, $value) | $this | Set an item by key in the WireArray. | |
SelectableOptionArray::setField() SelectableOptionArray::setField(Field $field) SelectableOptionArray::setField(Field $field) | (nothing) | Set the field these options are for | |
SelectableOptionArray::setPage() SelectableOptionArray::setPage(Page $page) SelectableOptionArray::setPage(Page $page) | (nothing) | Set the these options live on | |
SelectableOptionArray::setProperty() SelectableOptionArray::setProperty(string $property, mixed $value) SelectableOptionArray::setProperty(string $property, mixed $value) | SelectableOption SelectableOptionArray | Enables this WireArray to behave like the first item (for setting properties) | |
SelectableOptionArray::title | string | | |
SelectableOptionArray::value | string | | |