class MerciLineItemUIController in MERCI (Manage Equipment Reservations, Checkout and Inventory) 7.3
UI controller providing UI for content entities.
For a controller providing UI for bundleable content entities, see EntityBundleableUIController. For a controller providing admin UI for configuration entities, see EntityDefaultUIController.
Hierarchy
- class \EntityDefaultUIController
- class \EntityContentUIController
- class \EntityBundleableUIController
- class \MerciLineItemUIController
- class \EntityBundleableUIController
- class \EntityContentUIController
Expanded class hierarchy of MerciLineItemUIController
1 string reference to 'MerciLineItemUIController'
- merci_line_item_ui_entity_info_alter in merci_line_item/
merci_line_item_ui.module - Implements hook_entity_info_alter().
File
- merci_line_item/
includes/ entity.ui.inc, line 11
View source
class MerciLineItemUIController extends EntityBundleableUIController {
/**
* Provides definitions for implementing hook_menu().
*/
public function hook_menu() {
$items = parent::hook_menu();
foreach (merci_line_item_types() as $type => $line_item_type) {
// Convert underscores to hyphens for the menu item argument.
// $type_arg = strtr($type, '_', '-');
//
/*
$items['admin/merci/merci_line_item_types/' . $type] = array(
'title' => $line_item_type->name,
'page callback' => 'merci_line_item_type_redirect',
'page arguments' => array($type),
'access arguments' => array('administer merci line item types'),
);
*/
}
return $items;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
EntityContentUIController:: |
public | function |
Operation form submit callback. Overrides EntityDefaultUIController:: |
|
EntityDefaultUIController:: |
protected | property | ||
EntityDefaultUIController:: |
protected | property | ||
EntityDefaultUIController:: |
protected | property | ||
EntityDefaultUIController:: |
public | property | Defines the number of entries to show per page in overview table. | |
EntityDefaultUIController:: |
public | function | Applies an operation to the given entity. | |
EntityDefaultUIController:: |
public | function | Entity submit builder invoked via entity_ui_form_submit_build_entity(). | |
EntityDefaultUIController:: |
public | function | Provides definitions for implementing hook_forms(). | |
EntityDefaultUIController:: |
protected | function | Returns the operation count for calculating colspans. | |
EntityDefaultUIController:: |
public | function | Builds the operation form. | |
EntityDefaultUIController:: |
public | function | Operation form validation callback. | |
EntityDefaultUIController:: |
public | function | Builds the entity overview form. | |
EntityDefaultUIController:: |
public | function | Overview form submit callback. | |
EntityDefaultUIController:: |
public | function | Overview form validation callback. | |
EntityDefaultUIController:: |
public | function | Generates the render array for a overview table for arbitrary entities matching the given conditions. | |
EntityDefaultUIController:: |
protected | function | Generates the table headers for the overview table. | |
EntityDefaultUIController:: |
protected | function | Generates the row for the passed entity and may be overridden in order to customize the rows. | |
EntityDefaultUIController:: |
public | function | ||
MerciLineItemUIController:: |
public | function |
Provides definitions for implementing hook_menu(). Overrides EntityBundleableUIController:: |