Allow AbstractGenerator::getOutputFromHtml() to accept an HTML array

It can now produce a PDF with multiple pages in the same manor as AbstractGenerator::generate().

Also fixed outdated docblocks

revert back type and comments