[dev] PATCH: addLink() stub for Horde_Links
Jason M. Felice
jfelice at cronosys.com
Wed Jul 23 13:47:31 PDT 2003
... it just returns false for right now.
--
Jason M. Felice
Cronosys, LLC <http://www.cronosys.com/>
216.221.4600 x302
-------------- next part --------------
Index: lib/Links.php
===================================================================
RCS file: /repository/horde/lib/Links.php,v
retrieving revision 1.16
diff -u -u -r1.16 Links.php
--- lib/Links.php 17 Jul 2003 00:58:18 -0000 1.16
+++ lib/Links.php 23 Jul 2003 20:44:32 -0000
@@ -345,6 +345,29 @@
}
/**
+ * Adds a link to the database.
+ *
+ * @access public
+ *
+ * @param string $from_appliction A string identifying the source
+ * application ('provides')
+ * @param array $from_parameters A hash containing the link's source
+ * parameters.
+ * @param string $to_appliction A string identifying the target
+ * application ('provides')
+ * @param array $to_parameters A hash containing the link's target
+ * parameters.
+ * @param string $type A string specifying the link type.
+ *
+ * @return mixed Query statement result.
+ */
+ function addLink($from_application, $from_parameters, $to_application, $to_parameters, $type)
+ {
+ return false;
+ }
+
+
+ /**
* Deletes a link from the database. This is a stub (for the 'none'
* driver).
*
More information about the dev
mailing list