X-Git-Url: https://git.rohieb.name/iserv-mod-room-reservation.git/blobdiff_plain/5760b2a8d146d7c186daab1743c84683d0d84cea..4558bc25a4730efa9ce096552debce0e2f15deb4:/includes/mod_roomReservationRoom.inc diff --git a/includes/mod_roomReservationRoom.inc b/includes/mod_roomReservationRoom.inc old mode 100755 new mode 100644 index f49aa22..64ed6cb --- a/includes/mod_roomReservationRoom.inc +++ b/includes/mod_roomReservationRoom.inc @@ -133,6 +133,11 @@ class mod_roomReservationRoom { */ public function getLocation() { return $this->strLocation; } + /** + * Conversion to string + * @return string + */ + public function __toString() { return $this->getName(); /* name is key */ } /**@}*/ } ?>