Kernel/Controller.php
public static function getTypeModel(){
        $type = base64_decode(Session::get(md5(Request::getArea().Request::getController().Request::getAction())));
        if($type == null)
            return 'stdClass';

        return $type;
    }
public static function getTypeModel(){
        $type = base64_decode(Session::get(md5(Request::getArea().Request::getController().Request::getAction())));
        if($type == null)
            return 'stdClass';

        return $type;
    }
public static function getTypeModel ( ) { $ type = base64_decode ( Session :: get ( md5 ( Request :: getArea ( ) . Request :: getController ( ) . Request :: getAction ( ) ) ) ) ; if ( $ type == null ) return 'stdClass' ; return $ type ; }
Resgata o tipo da model
Resgata o tipo da model