ItemsController
Package: Controller
- class ItemsController
extends Omeka_Controller_AbstractActionController
- property ItemsController::$_autoCsrfProtection
protected
- property ItemsController::$_browseRecordsPerPage
protected
- property ItemsController::$contexts
- ItemsController::init()
- ItemsController::preDispatch()
- ItemsController::searchAction()
This shows the search form for items by going to the correct URI.
This form can be loaded as a partial by calling items_search_form().
- ItemsController::_getItemElementSets()
Gets the element sets for the ‘Item’ record type.
- Returns:
array The element sets for the ‘Item’ record type
- ItemsController::editAction()
Adds an additional permissions check to the built-in edit action.
- ItemsController::_getAddSuccessMessage($item)
- Parameters:
$item –
- ItemsController::_getEditSuccessMessage($item)
- Parameters:
$item –
- ItemsController::_getDeleteSuccessMessage($item)
- Parameters:
$item –
- ItemsController::_getDeleteConfirmMessage($item)
- Parameters:
$item –
- ItemsController::_getElementMetadata($item, $elementSetName, $elementName)
- Parameters:
$item –
$elementSetName –
$elementName –
- ItemsController::addAction()
- ItemsController::tagsAction()
Finds all tags associated with items (used for tag cloud)
- ItemsController::browseAction()
Browse the items. Encompasses search, pagination, and filtering of request parameters. Should perhaps be split into a separate mechanism.
- ItemsController::_getBrowseDefaultSort()
- ItemsController::changeTypeAction()
Find or create an item for this mini-form
- ItemsController::batchEditAction()
Batch editing of Items. If this is an AJAX request, it will render the ‘batch-edit’ as a partial.
- ItemsController::batchEditSaveAction()
Processes batch edit information. Only accessible via POST.
- ItemsController::_batchEditAllSave()
Processes batch edit all information. Only accessible via POST.