|
public function items_creat(){
$CI =& get_instance();
$CI->load->library('location');
$location = new Location();
$obj = $location->location_create();
$CI->load->library('content'); //为什么这个加载不进来?
$content = new Content();
$cobj = $content->content_create();
// $cobj为什么一直为空?
$items = array();
$items['location'] = $obj;
$items['content'] = $cobj;
return $items;
} |
|