public function submit($value, $name = null, $image = null) 
	{
		Argument::i()
			->test(1, 'string')
			->test(2, 'string', 'null');
		
		$field = Submit::i()->setValue($value);
		
		if(!is_null($name)) {
			$field->setName($name);
		}
		
		if($image) {
			$field->setImage($image);
		}
		
		return $field;
	}
public function submit($value, $name = null, $image = null) 
	{
		Argument::i()
			->test(1, 'string')
			->test(2, 'string', 'null');
		
		$field = Submit::i()->setValue($value);
		
		if(!is_null($name)) {
			$field->setName($name);
		}
		
		if($image) {
			$field->setImage($image);
		}
		
		return $field;
	}
public function submit ( $ value , $ name = null , $ image = null ) { Argument :: i ( ) -> test ( 1 , 'string' ) -> test ( 2 , 'string' , 'null' ) ; $ field = Submit :: i ( ) -> setValue ( $ value ) ; if ( ! is_null ( $ name ) ) { $ field -> setName ( $ name ) ; } if ( $ image ) { $ field -> setImage ( $ image ) ; } return $ field ; }
Returns a submit field

@param string
@param scalar|null
@param string|null
@return Eden\Block\Field\Submit
Returns a submit field