/** * Call generator directly * @private * @return string XML */ function __getXML_Direct() { $pc = new PHP_Crossword($this->cols, $this->rows); $pc->setGroupID($this->groupid); $pc->setMaxWords($this->words); $pc->setMaxFullTries($this->max_tries); $pc->generate(); $xml = $pc->getXML(); unset($pc); return $xml; }