Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
$Context
y2kbg
New
So what does the $Context do here?
not the $Context->Objec.....
Is it a parameter for the Constructor function in that class?
not the $Context->Objec.....
Is it a parameter for the Constructor function in that class?
$EasySettingsForm = $Context->ObjectFactory->NewContextObject($Context,'EasySettingsForm');
0
This discussion has been closed.
Comments
class EasySettingsForm { //pass $Context by reference (that's what the & means). - This is important in PHP 4, superflous in PHP5. function EasySettingsForm(&$Context) { } }
I am not sure why the $Context is passed when it is "NewObject" rather than "NewContextObject", but I do know that with NewContextObject the $Context object is passed as an argument to the constructor.