public function button($value, $name = null) 
	{
		Argument::i()
			->test(1, 'string')
			->test(2, 'string', 'null')
			->test(3, 'bool');
		
		$field = Button::i()->setValue($value);
		
		if(!is_null($name)) {
			$field->setName($name);
		}
		
		return $field;
	}
public function button($value, $name = null) 
	{
		Argument::i()
			->test(1, 'string')
			->test(2, 'string', 'null')
			->test(3, 'bool');
		
		$field = Button::i()->setValue($value);
		
		if(!is_null($name)) {
			$field->setName($name);
		}
		
		return $field;
	}
public function button ( $ value , $ name = null ) { Argument :: i ( ) -> test ( 1 , 'string' ) -> test ( 2 , 'string' , 'null' ) -> test ( 3 , 'bool' ) ; $ field = Button :: i ( ) -> setValue ( $ value ) ; if ( ! is_null ( $ name ) ) { $ field -> setName ( $ name ) ; } return $ field ; }
Returns a ui button field

@param string
@param string|null
@param bool
@return Eden\Block\Field\Button
Returns a ui button field