public function __construct($input = array(), $action = null, $do_return = false) { parent::__construct($input, $action); $this->entity_type = strtolower(fx::getClassNameFromNamespaceFull(get_class($this))); $this->ui = new FxAdmin\Ui(); $this->process_do_return = isset($input['do_return']) ? $input['do_return'] : $do_return; }