public function html_id( $suffix = '', $row = null ) {
		if ( is_array( $suffix ) || is_object( $suffix ) ) {
			return papi_f( $this->html_name( $suffix, $row ) );
		} else {
			$suffix = empty( $suffix ) || ! is_string( $suffix ) ? '' : '_' . $suffix;
			$suffix = papi_underscorify( papi_slugify( $suffix ) );
		}

		$name = $this->html_name();
		$len  = strlen( $name );

		if ( isset( $name[$len - 1] ) && $name[$len - 1] === ']' ) {
			return papi_f( sprintf( '%s%s]', substr( $name, 0, $len - 1 ), $suffix ) );
		}

		return papi_f( sprintf( '%s%s', $this->html_name(), $suffix ) );
	}
public function html_id( $suffix = '', $row = null ) {
		if ( is_array( $suffix ) || is_object( $suffix ) ) {
			return papi_f( $this->html_name( $suffix, $row ) );
		} else {
			$suffix = empty( $suffix ) || ! is_string( $suffix ) ? '' : '_' . $suffix;
			$suffix = papi_underscorify( papi_slugify( $suffix ) );
		}

		$name = $this->html_name();
		$len  = strlen( $name );

		if ( isset( $name[$len - 1] ) && $name[$len - 1] === ']' ) {
			return papi_f( sprintf( '%s%s]', substr( $name, 0, $len - 1 ), $suffix ) );
		}

		return papi_f( sprintf( '%s%s', $this->html_name(), $suffix ) );
	}
public function html_id ( $ suffix = '' , $ row = null ) { if ( is_array ( $ suffix ) || is_object ( $ suffix ) ) { return papi_f ( $ this -> html_name ( $ suffix , $ row ) ) ; } else { $ suffix = empty ( $ suffix ) || ! is_string ( $ suffix ) ? '' : '_' . $ suffix ; $ suffix = papi_underscorify ( papi_slugify ( $ suffix ) ) ; } $ name = $ this -> html_name ( ) ; $ len = strlen ( $ name ) ; if ( isset ( $ name [ $ len - 1 ] ) && $ name [ $ len - 1 ] === ']' ) { return papi_f ( sprintf ( '%s%s]' , substr ( $ name , 0 , $ len - 1 ) , $ suffix ) ) ; } return papi_f ( sprintf ( '%s%s' , $ this -> html_name ( ) , $ suffix ) ) ; }
Get the html id attribute value.

@param  object|string $suffix
@param  int           $row

@return string
Get the html id attribute value .