You are here

entity_type.controller.inc in MERCI (Manage Equipment Reservations, Checkout and Inventory) 7.3

File

merci_line_item/includes/entity_type.controller.inc
View source
<?php

/**
 * The controller class for line items contains methods for the line item CRUD
 * operations. The load method is inherited from the default controller.
 */
class MerciLineItemTypeController extends EntityAPIControllerExportable {
  public function create(array $values = array()) {
    $values += array(
      'label' => '',
    );
    return parent::create($values);
  }
  public function load($ids = array(), $conditions = array()) {
    $entity = parent::load($ids, $conditions);
    return $entity;
  }

}

Classes

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