static function currentUserId() { if (!isset(self::$_currentUserId)) { @session_start(); self::$_currentUserId = $_SESSION['id_pessoa']; session_write_close(); } return self::$_currentUserId; }
static function currentUserId() { if (!isset(self::$_currentUserId)) { @session_start(); self::$_currentUserId = $_SESSION['id_pessoa']; session_write_close(); } return self::$_currentUserId; }