これがURIです:example.com/index.php/products/shoes/sandals/123そしてこれが対応するコントローラーです:
<?php
class Products extends CI_Controller {
    public function shoes($sandals, $id)
    {
        $this->some_DB_using_Model->getListUsing($sandals,$id)
    }
}
?> 
$sandalsモデルに直接送信するのは安全ですか、それとも送信する前にフィルターを適用する必要がありますか。
編集:
function getListUsing($p1,$p2){
     $this->db->start_cache();
     $this->db->select('a');
     $this->db->select('b');
     $this->db->select('c');
     $this->db->where('p1',$p1);
     $this->db->where('p2',$p2);
     //then return the result
}