ResourceTemplateController

extends Zend\Mvc\Controller\AbstractActionController
Methods Summary
public
# __construct( Omeka\DataType\Manager $dataTypeManager )
public
public
public
public
protected
# flagValid( array $import )
Flag members and data types as valid. All members start as invalid until we determine whether the corresponding vocabulary and member exists in this installation. All data types start as "Default" (i.e. none declared) until we determine whether they match the native types (literal, uri, resource). We flag a valid vocabulary by adding [vocabulary_prefix] to the member; a valid class by adding [o:id]; and a valid property by adding [o:property][o:id]. We flag a valid data type by adding [o:data_type] to the property. By design, the API will only hydrate members and data types that are flagged as valid.
protected
# importIsValid( array $import )
Verify that the import format is valid.
public
public
public
public
public
protected
# getAddEditView( )
Get the add/edit view.
protected
# getPropertyRows( )
Get the property rows for the add/edit form.
public
# addNewPropertyRowAction( )
Return a new property row for the add-edit page.
Methods inherited from Zend\Mvc\Controller\AbstractActionController
indexAction(), notFoundAction(), onDispatch()
Methods inherited from Zend\Mvc\Controller\AbstractController
onDispatch(), dispatch(), getRequest(), getResponse(), setEventManager(), getEventManager(), setEvent(), getEvent(), getPluginManager(), setPluginManager(), plugin(), __call(), attachDefaultListeners(), getMethodFromAction()
Properties Summary
protected $dataTypeManager
# NULL
Properties inherited from Zend\Mvc\Controller\AbstractActionController
$eventIdentifier
Properties inherited from Zend\Mvc\Controller\AbstractController
$plugins, $request, $response, $event, $events, $eventIdentifier