contributions/socialbookmarking/start.inc.php
Go to the documentation of this file.00001 <?php 00002 /** 00003 * @defgroup SocialBookmarking 00004 * 00005 * Adds some social bookmarking icons to your site, including "Mail to a friend" 00006 * 00007 * @section Usage Usage 00008 * 00009 * Use WidetBookmarking to output the icons. The module provides a lot of services 00010 * and sets of them. See SocialBookmarking class for details. 00011 * 00012 * @code 00013 * print WidgetBookmarking::ouput($page_data, SocialBookmarking::SET_POPULAR_EN); 00014 * // prints icons for popular bookmarking services in US 00015 * print WidgetBookmarking::ouput($page_data, array( 00016 * SocialBookmarking::EMAIL, 00017 * SocialBookmarking::DIGG, 00018 * SocialBookmarking::TWITTER 00019 * ); 00020 * // prints the three desired bookmarks 00021 * @endcode 00022 */ 00023 EventSource::Instance()->register(new SocialBookmarkingEventSink());