Example #1
0
 function index($cpnsId = null)
 {
     if ($cpnsId) {
         parent::index(array('params' => array('cpns_id' => $cpnsId)));
     } else {
         parent::index();
     }
 }