english/libraries/joomla/html/html/grid.php
/**
	 * @param   integer The row index
	 * @param   integer The record id
	 * @param   boolean
	 * @param   string The name of the form element
	 *
	 * @return  string
	 */
@param   integer The row index
@param   integer The record id
@param   boolean
@param   string The name of the form element

@return  string
@param integer The row index @param integer The record id @param boolean @param string The name of the form element @return string
public static function id($rowNum, $recId, $checkedOut=false, $name='cid')
	{
		if ($checkedOut) {
			return '';
		}
		else {
			return '<input type="checkbox" id="cb'.$rowNum.'" name="'.$name.'[]" value="'.$recId.'" onclick="isChecked(this.checked);" title="'.JText::sprintf('JGRID_CHECKBOX_ROW_N', ($rowNum + 1)).'" />';
		}
	}
public static function id ( $ rowNum , $ recId , $ checkedOut = false , $ name = 'cid' ) { if ( $ checkedOut ) { return '' ; } else { return '<input type="checkbox" id="cb' . $ rowNum . '" name="' . $ name . '[]" value="' . $ recId . '" onclick="isChecked(this.checked);" title="' . JText :: sprintf ( 'JGRID_CHECKBOX_ROW_N' , ( $ rowNum + 1 ) ) . '" />' ; } }
@param   integer The row index
 @param   integer The record id
 @param   boolean
 @param   string The name of the form element
@param integer The row index @param integer The record id @param boolean @param string The name of the form element