You are here

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

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

Namesort descending Modifiers Type Description Overrides
EntityContentUIController::operationFormSubmit public function Operation form submit callback. Overrides EntityDefaultUIController::operationFormSubmit
EntityDefaultUIController::$entityInfo protected property
EntityDefaultUIController::$entityType protected property
EntityDefaultUIController::$id_count protected property
EntityDefaultUIController::$overviewPagerLimit public property Defines the number of entries to show per page in overview table.
EntityDefaultUIController::applyOperation public function Applies an operation to the given entity.
EntityDefaultUIController::entityFormSubmitBuildEntity public function Entity submit builder invoked via entity_ui_form_submit_build_entity().
EntityDefaultUIController::hook_forms public function Provides definitions for implementing hook_forms().
EntityDefaultUIController::operationCount protected function Returns the operation count for calculating colspans.
EntityDefaultUIController::operationForm public function Builds the operation form.
EntityDefaultUIController::operationFormValidate public function Operation form validation callback.
EntityDefaultUIController::overviewForm public function Builds the entity overview form.
EntityDefaultUIController::overviewFormSubmit public function Overview form submit callback.
EntityDefaultUIController::overviewFormValidate public function Overview form validation callback.
EntityDefaultUIController::overviewTable public function Generates the render array for a overview table for arbitrary entities matching the given conditions.
EntityDefaultUIController::overviewTableHeaders protected function Generates the table headers for the overview table.
EntityDefaultUIController::overviewTableRow protected function Generates the row for the passed entity and may be overridden in order to customize the rows.
EntityDefaultUIController::__construct public function
MerciLineItemUIController::hook_menu public function Provides definitions for implementing hook_menu(). Overrides EntityBundleableUIController::hook_menu