* This class is a collections of functions that produce links\r
* \r
* All functions in this clss should only be called statically,\r
- * for example: LINK::create_item_link(...)\r
+ * for example: Link::create_item_link(...)\r
* \r
* @license http://nucleuscms.org/license.txt GNU General Public License\r
* @copyright Copyright (C) 2002-2011 The Nucleus Group\r
- * @version $Id: LINK.php 1674 2012-02-26 05:25:02Z sakamocchi $\r
+ * @version $Id: LINK.php 1721 2012-03-31 10:18:25Z sakamocchi $
*/\r
-class LINK\r
+class Link\r
{\r
-\r
/**\r
- * LINK::create_item_link()\r
+ * Link::create_item_link()\r
* Create a link to an item\r
* @static\r
* @param $itemid item id\r
}\r
\r
/**\r
- * LINK::create_member_link()\r
+ * Link::create_member_link()\r
* Create a link to a member\r
* \r
* @static\r
}\r
\r
/**\r
- * LINK::create_category_link()\r
+ * Link::create_category_link()\r
* Create a link to a category\r
* \r
* @static\r
}\r
\r
/**\r
- * LINK::cteate_archive_link()\r
+ * Link::cteate_archive_link()\r
* Create a link to an archive\r
* \r
* @static\r
}\r
\r
/**\r
- * LINK::create_archivelist_link()\r
+ * Link::create_archivelist_link()\r
* Create a link to an archive list\r
* \r
* @static\r
}\r
\r
/**\r
- * LINK::create_blogid_link()\r
+ * Link::create_blogid_link()\r
* Create a link to a blog\r
* \r
* @static\r
}\r
\r
/**\r
- * LINK::create_link()\r
+ * Link::create_link()\r
* Create a link\r
* \r
* Universell function that creates link of different types (like item, blog ...)\r
break;\r
}\r
\r
- return LINK::add_link_params($url, (isset($params['extra'])? $params['extra'] : null));\r
+ return Link::add_link_params($url, (isset($params['extra'])? $params['extra'] : null));\r
}\r
\r
static private function add_link_params($link, $params)\r
}\r
\r
/**\r
- * LINK::create_blog_link()\r
+ * Link::create_blog_link()\r
* Create an link to a blog\r
* \r
* This function considers the URLMode of the blog\r