protected static function inputs(\Asgard\Http\Request $r, $input, $name) {
		if($r->$input->count()) {
			$res = '<div><span class="toggle"><span>+</span>'.$name.':</span>';
			$res .= '<div style="display:none"><ul>';
			foreach($r->get->all() as $k=>$v) {
				$res .= '<li>'.$k.': ';
				$str = static::var_dump_to_string($v);
				$res .= '<pre>'.$str.'</pre>';
				$res .= '</li>';
			}
			$res .= '</ul></div></div>';
			return $res;
		}
	}
protected static function inputs(\Asgard\Http\Request $r, $input, $name) {
		if($r->$input->count()) {
			$res = '<div><span class="toggle"><span>+</span>'.$name.':</span>';
			$res .= '<div style="display:none"><ul>';
			foreach($r->get->all() as $k=>$v) {
				$res .= '<li>'.$k.': ';
				$str = static::var_dump_to_string($v);
				$res .= '<pre>'.$str.'</pre>';
				$res .= '</li>';
			}
			$res .= '</ul></div></div>';
			return $res;
		}
	}
protected static function inputs ( \ Asgard \ Http \ Request $ r , $ input , $ name ) { if ( $ r -> $ input -> count ( ) ) { $ res = '<div><span class="toggle"><span>+</span>' . $ name . ':</span>' ; $ res .= '<div style="display:none"><ul>' ; foreach ( $ r -> get -> all ( ) as $ k => $ v ) { $ res .= '<li>' . $ k . ': ' ; $ str = static :: var_dump_to_string ( $ v ) ; $ res .= '<pre>' . $ str . '</pre>' ; $ res .= '</li>' ; } $ res .= '</ul></div></div>' ; return $ res ; } }
Return the inputs formatted for HTML.
@param  \Asgard\Http\Request $r
@param  string $input        request input name
@param  string $name         php input name
@return string
Return the inputs formatted for HTML .