tomlili 发表于 2012-8-27 19:25:33

helper功能??

本帖最后由 tomlili 于 2012-8-27 19:28 编辑

我是使用framework的新手
最信下載一個question-of-the-day教程
裡面的answers.php
使用到
$this->load->database();
$this->load->helper(array('url','form'));

請問其中的helper(array('url','form'));
是什麼意思

qq494686707 发表于 2012-8-27 20:30:44

加载 url 函数和 form 函数

bearcat001 发表于 2012-8-27 22:07:04

恩……楼上正解
补充一下:$this->load->helper();支持传数组,然后等于把数组剥离开都执行load_class
页: [1]
查看完整版本: helper功能??