added mod_roomReservationRoom::__toString()
[iserv-mod-room-reservation.git] / includes / mod_roomReservationRoom.inc
index f49aa22..64ed6cb 100644 (file)
@@ -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 */ }
   /**@}*/
 }
 ?>
This page took 0.020966 seconds and 4 git commands to generate.