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 Pagekit\User\Model; use Pagekit\Database\ORM\ModelTrait; trait RoleMode..
Decoded Output download
<?php
namespace Pagekit\User\Model;
use Pagekit\Database\ORM\ModelTrait;
trait RoleModelTrait
{
use ModelTrait;
/**
* @Saving
*/
public static function saving($event, Role $role)
{
if (!$role->id) {
$role->priority = self::getConnection()->fetchColumn('SELECT MAX(priority) + 1 FROM @system_role');
}
}
}
?>
Did this file decode correctly?
Original Code
<?php
namespace Pagekit\User\Model;
use Pagekit\Database\ORM\ModelTrait;
trait RoleModelTrait
{
use ModelTrait;
/**
* @Saving
*/
public static function saving($event, Role $role)
{
if (!$role->id) {
$role->priority = self::getConnection()->fetchColumn('SELECT MAX(priority) + 1 FROM @system_role');
}
}
}
Function Calls
None |
Stats
MD5 | 9d0686bc96c0b5bff9c9b6ec42c83896 |
Eval Count | 0 |
Decode Time | 148 ms |