ããªãã¼ã¿ã®æ¹è¯ Laravel4ã§ã¯ããã¨ãã¨ããªãã¼ã¿ã«æ©è½è¿½å ããããã¨ãå¯è½ãªã®ã§ãããããã§ã¯ããããæ¬æ ¼çãªæ¹æ³ã§ã¯ãªããã³ã³ããã¼ã©å´ã§ã¡ãã£ã¨è¿½å ããªãã¼ã·ã§ã³ããããã¨ãã®ããæ¹ãæ¸ãã¾ãã é常ãããªãã¼ã¿ã¯ <?php $validator = Validator::make(Input::get(), $rules); if ($validator->fails()) { return Redirect::back()->withErrors($validator)->withInput(); } ?> ã¿ãããªæãã§ä½¿ãã¨æãã¾ãã ããããªãããããã ãã ã¨è¤éãªã«ã¼ã«ã®å ´åã®å¦çãé¢åã§ãã(sometimesã¡ã½ããã§æ¡ä»¶ä»ãã«ã¼ã«ãè¨å®ãããã¨ãªã©ã¯åºæ¥ã¾ãããããã§ã¯å²æï¼ ãããããfails()ã¡ã½ããã§ã¨ã©ã¼ãæ¤åºããã¨åæã«ãifå¤å®ãã¦ããã®ã§
{{#tags}}- {{label}}
{{/tags}}