RuntimeException [ Error ]:
Object class "Fuel\Core\Validation" could not be converted to string or sanitized as ArrayAccess. Whitelist it in security.whitelisted_classes in app/config/config.php to allow it to be passed unchecked.
263 } 264 265 // Throw exception when it wasn't whitelisted and can't be converted to String 266 if ( ! method_exists($value, '__toString')) 267 { 268 throw new \RuntimeException('Object class "'.get_class($value).'" could not be converted to string or '. 269 'sanitized as ArrayAccess. Whitelist it in security.whitelisted_classes in app/config/config.php '. 270 'to allow it to be passed unchecked.'); 271 } 272 273 $value = static::htmlentities((string) $value, $flags, $encoding, $double_encode);
151 } 152 153 // is this filter a callable function? 154 elseif (is_callable($filter)) 155 { 156 $var = call_user_func($filter, $var); 157 } 158 159 // assume it's a regex of characters to filter 160 else 161 {
289 { 290 if ($filter_closures and $value instanceOf \Closure) 291 { 292 $value = $value(); 293 } 294 $value = \Security::clean($value, null, 'security.output_filter'); 295 } 296 } 297 298 return $data; 299 };
300 301 $data = array(); 302 303 if ( ! empty($this->data) and ($scope === 'all' or $scope === 'local')) 304 { 305 $data += $clean_it($this->data, $this->local_filter, $this->auto_filter); 306 } 307 308 if ( ! empty(static::$global_data) and ($scope === 'all' or $scope === 'global')) 309 { 310 $data += $clean_it(static::$global_data, static::$global_filter, $this->auto_filter);
255 // Get the captured output and close the buffer 256 return ob_get_clean(); 257 }; 258 259 // import and process the view file 260 $result = $clean_room($file_override ?: $this->file_name, $data = $this->get_data()); 261 262 // disable sanitization on objects that support it 263 $this->unsanitize($data); 264 265 // return the result
626 { 627 throw new \FuelException('You must set the file to use within your view before rendering'); 628 } 629 630 // combine local and global data and capture the output 631 $return = $this->process_file(); 632 633 // restore the current language setting 634 $this->active_language and \Config::set('language', $current_language); 635 636 // and the active request class
224 */ 225if ( ! function_exists('render')) 226{ 227 function render($view, $data = null, $auto_filter = null) 228 { 229 return \View::forge($view, $data, $auto_filter)->render(); 230 } 231} 232 233/** 234 * A wrapper function for Lang::get()
121<br /> 122<div style="font-weight:bolder;font-size:16px">※2008年以前や地方および海外での成績など一部のデータはございません。予めご了承願います。</div> 123<br /> 124 125<!--bbs--> 126<?= render('front/jra/bbs.html', $bbs); ?> 127<!--/bbs--> 128 129<!--bbs_paging--> 130<?= render('front/jra/bbs_paging.html',$bbs_paging); ?> 131<!--/bbs_paging-->
239 ob_start(); 240 241 try 242 { 243 // Load the view within the current scope 244 include $__file_name; 245 } 246 catch (\Exception $e) 247 { 248 // Delete the output buffer 249 ob_end_clean();
255 // Get the captured output and close the buffer 256 return ob_get_clean(); 257 }; 258 259 // import and process the view file 260 $result = $clean_room($file_override ?: $this->file_name, $data = $this->get_data()); 261 262 // disable sanitization on objects that support it 263 $this->unsanitize($data); 264 265 // return the result
626 { 627 throw new \FuelException('You must set the file to use within your view before rendering'); 628 } 629 630 // combine local and global data and capture the output 631 $return = $this->process_file(); 632 633 // restore the current language setting 634 $this->active_language and \Config::set('language', $current_language); 635 636 // and the active request class
208 */ 209 public function __toString() 210 { 211 try 212 { 213 return $this->render(); 214 } 215 catch (\Exception $e) 216 { 217 \Errorhandler::exception_handler($e); 218
11 12<div class="container"> 13<?=$header?> 14 15 16<?=$content?> 17 18 19 20<?=$footer?> 21</div>
239 ob_start(); 240 241 try 242 { 243 // Load the view within the current scope 244 include $__file_name; 245 } 246 catch (\Exception $e) 247 { 248 // Delete the output buffer 249 ob_end_clean();
255 // Get the captured output and close the buffer 256 return ob_get_clean(); 257 }; 258 259 // import and process the view file 260 $result = $clean_room($file_override ?: $this->file_name, $data = $this->get_data()); 261 262 // disable sanitization on objects that support it 263 $this->unsanitize($data); 264 265 // return the result
626 { 627 throw new \FuelException('You must set the file to use within your view before rendering'); 628 } 629 630 // combine local and global data and capture the output 631 $return = $this->process_file(); 632 633 // restore the current language setting 634 $this->active_language and \Config::set('language', $current_language); 635 636 // and the active request class
208 */ 209 public function __toString() 210 { 211 try 212 { 213 return $this->render(); 214 } 215 catch (\Exception $e) 216 { 217 \Errorhandler::exception_handler($e); 218
157 */ 158 public function __toString() 159 { 160 try 161 { 162 return (string) $this->render(); 163 } 164 catch (\Exception $e) 165 { 166 \Errorhandler::exception_handler($e); 167
96$bm = Profiler::app_total(); 97$response->body( 98 str_replace( 99 array('{exec_time}', '{mem_usage}'), 100 array(round($bm[0], 4), round($bm[1] / pow(1024, 2), 3)), 101 $response->body() 102 ) 103); 104 105$response->send(true);