/** * Creates a new ca_object_checkouts instance and initialize with a new group uuid. The returned instance * can be used to do one or more checkouts, checkins and reservations. All checkouts and reservations will be * bound together with the same uuid. * * @param string $ps_uuid A uuid to use; if omitted one will be generated * @return ca_object_checkouts */ public static function newCheckoutTransaction($ps_uuid = null) { $t_instance = new ca_object_checkouts(); $ps_uuid ? $t_instance->getTransactionUUID($ps_uuid) : $t_instance->getTransactionUUID(); return $t_instance; }