[Isis-users] declaracao
anabela semedo
anabela556 at hotmail.com
Mon Jul 6 18:45:20 CEST 2015
ola pessoal estou tendo muita dificuldade para entender e resolver este erro no ABCD.
class MiniXMLElementDocType extends MiniXMLElement { ---------linha 1606
var $dtattr; function MiniXMLElementDocType ($attr) { $this->MiniXMLElement('DOCTYPE'); $this->dtattr = $attr; } function toString ($depth) { if ($depth == MINIXML_NOWHITESPACES) { return $this->toStringNoWhiteSpaces(); } else { return $this->toStringWithWhiteSpaces($depth); } } function toStringWithWhiteSpaces ($depth=0) {
$spaces = $this->_spaceStr($depth); $retString = "$spaces<!DOCTYPE " . $this->dtattr . " [\n"; if (! $this->xnumChildren) { $retString .= "]>\n"; return $retString; } $nextDepth = $depth + 1; for ( $i=0; $i < $this->xnumChildren; $i++) { $retString .= $this->xchildren[$i]->toStringWithWhiteSpaces($nextDepth); } $retString .= "\n$spaces]>\n"; return $retString; }
function toStringNoWhiteSpaces () { $retString = "<!DOCTYPE " . $this->dtattr . " [ "; if (! $this->xnumChildren) { $retString .= "]>\n"; return $retString; } for ( $i=0; $i < $this->xnumChildren; $i++) { $retString .= $this->xchildren[$i]->toStringNoWhiteSpaces(); } $retString .= " ]>\n"; return $retString; }
}
-------------- próxima parte ----------
Um anexo em HTML foi limpo...
URL: <http://lists.iccisis.org/pipermail/isis-users/attachments/20150706/8eb097c6/attachment.html>
-------------- próxima parte ----------
A non-text attachment was scrubbed...
Name: Capturar.PNG
Type: image/png
Size: 44994 bytes
Desc: não disponível
URL: <http://lists.iccisis.org/pipermail/isis-users/attachments/20150706/8eb097c6/attachment.png>
More information about the isis-users
mailing list