Exemple #1
0
 /**
  * initialize wbList, so we don't need to do this more than once
  *
  * @access public
  * @return object
  **/
 public static function init_list()
 {
     if (!is_object(self::$list)) {
         self::$list = \wblib\wbList::getInstance(array('__id_key' => 'page_id', '__title_key' => 'menu_title', 'create_level_css' => 'false'));
     }
     return self::$list;
 }