original_string: public function checkbox($name, $label, $attr = array())
      {
          return $this->input(
              $name,
              $label,
              array_merge(
                  $attr,
                  array('type' => 'checkbox')
              )
          );
      }
code: public function checkbox($name, $label, $attr = array())
      {
          return $this->input(
              $name,
              $label,
              array_merge(
                  $attr,
                  array('type' => 'checkbox')
              )
          );
      }
code_tokens: public function checkbox ( $ name , $ label , $ attr = array ( ) ) { return $ this -> input ( $ name , $ label , array_merge ( $ attr , array ( 'type' => 'checkbox' ) ) ) ; }
docstring: shortcut for checkbox field
  
  @param   string          input name (dot notation for multi-dimensional array)
  @param   string|array    Label string or array of label value and attributes
  @param   array           input attributes
  @return  string
docstring_tokens: shortcut for checkbox field