projects
/
iserv-mod-room-reservation.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d6ece3
)
added mod_roomReservationRoom::__toString()
author
rohieb
<devnull@localhost>
Fri, 25 Jul 2008 22:47:37 +0000
(
00:47
+0200)
committer
rohieb
<devnull@localhost>
Fri, 25 Jul 2008 22:47:37 +0000
(
00:47
+0200)
includes/mod_roomReservationRoom.inc
patch
|
blob
|
history
diff --git
a/includes/mod_roomReservationRoom.inc
b/includes/mod_roomReservationRoom.inc
index
f49aa22
..
64ed6cb
100644
(file)
--- 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 */ }
/**@}*/
}
?>
This page took
0.023772 seconds
and
4
git commands to generate.