ResourceSelect

extends Zend\Form\Element\Select
Methods Summary
public
public
# setResourceValueOptions( $resource , callable $callback , array $query = array ( ) )
Set API resources as value options. Sets the resource ID as the option value and the return value of $callback as the option text. The callback receives the resource representation.
public
# setApiManager( Omeka\Api\Manager $apiManager )
public
Methods inherited from Zend\Form\Element\Select
getValueOptions(), setValueOptions(), unsetValueOption(), setOptions(), setAttribute(), setDisableInArrayValidator(), disableInArrayValidator(), setEmptyOption(), getEmptyOption(), getValidator(), setUseHiddenElement(), useHiddenElement(), setUnselectedValue(), getUnselectedValue(), getInputSpecification(), getValueOptionsValues(), getOptionValue(), isMultiple()
Methods inherited from Zend\Form\Element
__construct(), init(), setName(), getName(), setOptions(), getOptions(), getOption(), setOption(), setAttribute(), getAttribute(), removeAttribute(), hasAttribute(), setAttributes(), getAttributes(), removeAttributes(), clearAttributes(), setValue(), getValue(), setLabel(), getLabel(), setLabelAttributes(), getLabelAttributes(), setLabelOptions(), getLabelOptions(), clearLabelOptions(), removeLabelOptions(), setLabelOption(), getLabelOption(), removeLabelOption(), hasLabelOption(), setMessages(), getMessages()
Properties Summary
protected Omeka\Api\Manager $apiManager
# NULL
Properties inherited from Zend\Form\Element\Select
$attributes, $validator, $disableInArrayValidator, $emptyOption, $valueOptions, $useHiddenElement, $unselectedValue
Properties inherited from Zend\Form\Element
$attributes, $label, $labelAttributes, $labelOptions, $messages, $options, $value