protected function multiInput( $optionKey, $number, $type = 'radio' )
	{
		$args = $this->multiInputArgs( $type, $optionKey, $number );

		if( !$args )return;

		$attributes = '';

		foreach( $args['attributes'] as $key => $val ) {
			$attributes .= sprintf( '%s="%s" ', $key, $val );
		}

		return sprintf( '<li><label for="%s"><input %s%s/> %s</label></li>',
			$args['attributes']['id'],
			$attributes,
			checked( $args['value'], $args['attributes']['value'], false ),
			$args['label']
		);
	}
protected function multiInput( $optionKey, $number, $type = 'radio' )
	{
		$args = $this->multiInputArgs( $type, $optionKey, $number );

		if( !$args )return;

		$attributes = '';

		foreach( $args['attributes'] as $key => $val ) {
			$attributes .= sprintf( '%s="%s" ', $key, $val );
		}

		return sprintf( '<li><label for="%s"><input %s%s/> %s</label></li>',
			$args['attributes']['id'],
			$attributes,
			checked( $args['value'], $args['attributes']['value'], false ),
			$args['label']
		);
	}
protected function multiInput ( $ optionKey , $ number , $ type = 'radio' ) { $ args = $ this -> multiInputArgs ( $ type , $ optionKey , $ number ) ; if ( ! $ args ) return ; $ attributes = '' ; foreach ( $ args [ 'attributes' ] as $ key => $ val ) { $ attributes .= sprintf ( '%s="%s" ' , $ key , $ val ) ; } return sprintf ( '<li><label for="%s"><input %s%s/> %s</label></li>' , $ args [ 'attributes' ] [ 'id' ] , $ attributes , checked ( $ args [ 'value' ] , $ args [ 'attributes' ] [ 'value' ] , false ) , $ args [ 'label' ] ) ; }
Generate checkboxes and radios

@param string $optionKey
@param string $number
@param string $type

@return null|string
Generate checkboxes and radios