问答详情
源自:-

命名空间里类里面的方法不加static,怎么才能调用到

命名空间里类里面的方法不加static,怎么才能调用到

提问者:低头 2016-11-16 22:21

个回答

  • 悲剧丶不上演
    2016-12-25 21:48:22
    已采纳

    先实例化这个类,
    $helper = new Helper();
    $helper->selectNav();
    然后调用