Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php namespace Tests\Controllers; use Encore\Admin\Controllers\AdminController; use Enc..
Decoded Output download
<?php
namespace Tests\Controllers;
use Encore\Admin\Controllers\AdminController;
use Encore\Admin\Form;
use Encore\Admin\Grid;
use Tests\Models\MultipleImage;
class MultipleImageController extends AdminController
{
protected $title = 'Images';
/**
* Make a grid builder.
*
* @return Grid
*/
protected function grid()
{
$grid = new Grid(new MultipleImage());
$grid->id('ID')->sortable();
$grid->created_at();
$grid->updated_at();
$grid->disableFilter();
return $grid;
}
/**
* Make a form builder.
*
* @return Form
*/
protected function form()
{
$form = new Form(new MultipleImage());
$form->display('id', 'ID');
$form->multipleImage('pictures');
$form->display('created_at', 'Created At');
$form->display('updated_at', 'Updated At');
return $form;
}
}
?>
Did this file decode correctly?
Original Code
<?php
namespace Tests\Controllers;
use Encore\Admin\Controllers\AdminController;
use Encore\Admin\Form;
use Encore\Admin\Grid;
use Tests\Models\MultipleImage;
class MultipleImageController extends AdminController
{
protected $title = 'Images';
/**
* Make a grid builder.
*
* @return Grid
*/
protected function grid()
{
$grid = new Grid(new MultipleImage());
$grid->id('ID')->sortable();
$grid->created_at();
$grid->updated_at();
$grid->disableFilter();
return $grid;
}
/**
* Make a form builder.
*
* @return Form
*/
protected function form()
{
$form = new Form(new MultipleImage());
$form->display('id', 'ID');
$form->multipleImage('pictures');
$form->display('created_at', 'Created At');
$form->display('updated_at', 'Updated At');
return $form;
}
}
Function Calls
None |
Stats
MD5 | dae672392e31c274f5d30d8e7d89029a |
Eval Count | 0 |
Decode Time | 96 ms |