I'm still playing around with my framework.
What would be nice If I could (like other popular framework) build a wrapper on vars coming in from the page.
What I want to basically do is instead of accessing a $_POST['varname']
i want to assign all the post vars, after clean up, to data members in my controllers so i can access the above variable like $childCT->varname;
with the object reference (->), rather than calling $_POST.
I want to avoid eval() too, by the way.
isn't there some base class like __get() or something?
Thanks,
Dan
What would be nice If I could (like other popular framework) build a wrapper on vars coming in from the page.
What I want to basically do is instead of accessing a $_POST['varname']
i want to assign all the post vars, after clean up, to data members in my controllers so i can access the above variable like $childCT->varname;
with the object reference (->), rather than calling $_POST.
I want to avoid eval() too, by the way.
isn't there some base class like __get() or something?
Thanks,
Dan
Comment