I am developing a PHP mini-frame, one of which methods creates an HTML table from an array of objects:
class HTMLTableField { private $hdr; private $alg; private $fun; function __construct($descr, $align, $apply) {
However, when the control flow gen_html_table reaches
echo $field->getCell($row);
I get an error: "Calling the undefined method HTMLTableField :: fun ()." But pleasure should be an anonymous method!
source share