How to use <CInputCheckbox

I need to know how to use checkbox and how I can check/uncheck it using map function.