Getting tag relationships from fuel_model()

edited January 2017 in Modules
Hello! Is there any way of getting all the tags of an index from a fuel model?
I tried to use the fuel_model() to get that relations.

$result = $this->db->get()->result_array();
$careers= fuel_model('careers', ['find' => 'all', "where"=> ["id"=>$result['id']]);

foreach($careers as $career)
{
echo $career['interests'];
}

Comments

Sign In or Register to comment.