/** * * @return TabMenu * */ static function getInstance() { if (is_null(self::$_instance)) { self::$_instance = new self($_SESSION['_amember_user']['member_id']); } return self::$_instance; }
<?php /* Smarty version 2.6.2, created on 2010-11-16 17:36:34 compiled from member_menu.inc.html */ include_once dirname(__FILE__) . '/../tabs.inc.php'; $tabMenu = new TabMenu($_SESSION['_amember_user']['member_id']); echo $tabMenu->render();