Hey guys-
I'm trying to make deep, zen-like sense of the form framework setup.
Something that's been troubling me:
Why does sfForm::offsetGet() not just call ::offsetGet() on its own
sfFormFieldSchema object()?
For example:
public function offsetGet($name)
{
$formFieldSchema = $this->getFormFieldSchema();
return $formFieldSchema[$name];
}
Both offsetGet functions appear to have the same logic - seem like
redundant code. Moreover, the sfForm unit test passes using the above
code.
My concern is that there IS a qualitative difference between the
current body of sfForm::offsetGet and what I've put above and that I'm
not seeing something.
Any help?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en
-~----------~----~----~----~------~----~------~--~---