本文整理匯總了PHP中Self::processInputs方法的典型用法代碼示例。如果您正苦於以下問題:PHP Self::processInputs方法的具體用法?PHP Self::processInputs怎麽用?PHP Self::processInputs使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在類Self
的用法示例。
在下文中一共展示了Self::processInputs方法的1個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的PHP代碼示例。
示例1: form
public function form(Request $request)
{
if ($request->isMethod('post')) {
// input validation
$this->validate($request, ['input_name' => 'required']);
Self::processInputs($request->all());
Self::processImportFiles($request->all());
/*
The next line is what compiles the scss - options:
- scss_formatter - this un-nests all the css
- scss_formatter_nested (default) - this nests all the nextes css
- scss_formatter_compressed - one line compressed and optimized
See http://leafo.net/scssphp/docs/#output_formatting for more info
*/
Self::compile('scss_formatter_nested');
}
return view('form', ['imports' => Self::listImports(), 'request' => $request->all()]);
}