ILIAS  Release_5_0_x_branch Revision 61816
 All Data Structures Namespaces Files Functions Variables Groups Pages
class.ilPermanentLink.php
Go to the documentation of this file.
1 <?php
2 
3 /* Copyright (c) 1998-2010 ILIAS open source, Extended GPL, see docs/LICENSE */
4 
9 
10  public static function getActiveBookmarks() {
11  global $ilDB;
12 
13  $q = 'SELECT sbm_title, sbm_link, sbm_icon, sbm_active FROM bookmark_social_bm WHERE sbm_active = 1 ORDER BY sbm_title';
14  $rset = $ilDB->query($q);
15 
16  $rows = array();
17 
18  while ($row = $ilDB->fetchObject($rset))
19  $rows[] = $row;
20 
21  return $rows;
22  }
23 
24 }