You are here

public function MerciLineItemTypeController::load in MERCI (Manage Equipment Reservations, Checkout and Inventory) 7.3

Overridden to support passing numeric ids as well as names as $ids.

Overrides EntityAPIControllerExportable::load

File

merci_line_item/includes/entity_type.controller.inc, line 15

Class

MerciLineItemTypeController
The controller class for line items contains methods for the line item CRUD operations. The load method is inherited from the default controller.

Code

public function load($ids = array(), $conditions = array()) {
  $entity = parent::load($ids, $conditions);
  return $entity;
}