You are here

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

File

merci_reservation/includes/entity.controller.inc
View source
<?php

class MerciReservationController extends EntityAPIController {
  public function create(array $values = array()) {
    global $user;
    $values += array(
      'title' => '',
      'description' => '',
      'created' => REQUEST_TIME,
      'changed' => REQUEST_TIME,
      'uid' => $user->uid,
    );
    return parent::create($values);
  }

}

Classes