<divclass=CToolTipid="tt93"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>function encode(</td><tdclass=PParameternowrap>$obj</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote>Encodes the specified object and returns the resulting XML node.</div></div><divclass=CToolTipid="tt94"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>function encode(</td><tdclass=PParameternowrap>$enc,</td></tr><tr><td></td><tdclass=PParameternowrap>$obj</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote>Encodes the specified object and returns a node representing then given object. </div></div><divclass=CToolTipid="tt95"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>function encodeCell(</td><tdclass=PParameternowrap>$cell,</td><tdclass=PDefaultValuePrefix> </td><tdclass=PDefaultValuewidth=100%></td></tr><tr><td></td><tdclass=PParameternowrap>$node,</td><tdclass=PDefaultValuePrefix> </td><tdclass=PDefaultValuewidth=100%></td></tr><tr><td></td><tdclass=PParameternowrap>$includeChildren</td><tdclass=PDefaultValuePrefix> = </td><tdclass=PDefaultValuewidth=100%>true</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote>Encoding of cell hierarchies is built-into the core, but is a higher-level function that needs to be explicitely used by the respective object encoders (eg. </div></div><divclass=CToolTipid="tt96"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>static function encodeImage(</td><tdclass=PParameternowrap>$image,</td><tdclass=PDefaultValuePrefix> </td><tdclass=PDefaultValuewidth=100%></td></tr><tr><td></td><tdclass=PParameternowrap>$format</td><tdclass=PDefaultValuePrefix> = </td><tdclass=PDefaultValuewidth=100%>null</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote>Encodes the given image using the GD image encoding routines. </div></div><divclass=CToolTipid="tt97"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>function encodeObject(</td><tdclass=PParameternowrap>$enc,</td></tr><tr><td></td><tdclass=PParameternowrap>$obj,</td></tr><tr><td></td><tdclass=PParameternowrap>$node</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote>Encodes the value of each member in then given obj into the given node using encodeValue.</div></div><divclass=CToolTipid="tt98"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>function encodeValue(</td><tdclass=PParameternowrap>$enc,</td></tr><tr><td></td><tdclass=PParameternowrap>$obj,</td></tr><tr><td></td><tdclass=PParameternowrap>$name,</td></tr><tr><td></td><tdclass=PParameternowrap>$value,</td></tr><tr><td></td><tdclass=PParameternowrap>$node</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote>Converts the given value according to the mappings and id-refs in this codec and uses writeAttribute to write the attribute into the given node.</div></div><divclass=CToolTipid="tt99"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td><table
<divclass=CToolTipid="tt106"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>static function findNode(</td><tdclass=PParameternowrap>$node,</td></tr><tr><td></td><tdclass=PParameternowrap>$attr,</td></tr><tr><td></td><tdclass=PParameternowrap>$value</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote>Returns the first node where attr equals value. </div></div><divclass=CToolTipid="tt107"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>function findTreeRoots(</td><tdclass=PParameternowrap>$parent,</td><tdclass=PDefaultValuePrefix> </td><tdclass=PDefaultValuewidth=100%></td></tr><tr><td></td><tdclass=PParameternowrap>$isolate</td><tdclass=PDefaultValuePrefix> = </td><tdclass=PDefaultValuewidth=100%> false,</td></tr><tr><td></td><tdclass=PParameternowrap>$invert</td><tdclass=PDefaultValuePrefix> = </td><tdclass=PDefaultValuewidth=100%> false</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote>Returns all children in the given parent which do not have incoming edges. </div></div><divclass=CToolTipid="tt108"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>static function fine(</td><tdclass=PParameternowrap>$text</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote>Logs a fine trace.</div></div><divclass=CToolTipid="tt109"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>function fireEvent(</td><tdclass=PParameternowrap>$event</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote>Fires the event for the specified name.</div></div><divclass=CToolTipid="tt110"><divclass=CFunction><blockquote><tableborder=0cellspacing=0cellpadding=0class="Prototype prettyprint"><tr><td><tableborder=0cellspacing=0cellpadding=0><tr><tdclass=PBeforeParametersnowrap>static function flipImage(</td><tdclass=PParameternowrap>$img,</td></tr><tr><td></td><tdclass=PParameternowrap>$flipH,</td></tr><tr><td></td><tdclass=PParameternowrap>$flipV</td><tdclass=PAfterParametersnowrap>)</td></tr></table></td></tr></table></blockquote>Flips the given image horizontally and/or vertically and returns a new image instance.</div></div><!--END_ND_TOOLTIPS-->