我有我的模型:
$this->db->select('companyName,companySlogan,companyContact,companyEmail,companyWebsite,companyPhone,companyFax,companyAddress');
$result = $this->db->get('companyDetails');
我将如何返回我的$result
以便我可以通过我的控制器以以下形式调用它?
$data['companyName'] = $this->quote->companyDetails->companyName