Open Fedik opened 9 years ago
I not invent anything new, just want to sum up
$displayData
extract()
Example:
/** * This layout render emptiness * * @var Type $variable Description * @var JForm $form Form for render * @var string $something Something else */ extract($displayData);
is there anything that I missed? Please add it :wink:
I think we can skip the required part. The doc block tells those overriding it which variables are present so I don't think we need to explicitly set anything as required.
ok, I changed my post :wink:
I not invent anything new, just want to sum up
$displayData
should be array, so we can useextract()
Each Required variable need to be marked as Required in descriptionExample:
is there anything that I missed? Please add it :wink: