<!-- saved from url=(0026)http://www.naturaldocs.org -->
<divid=Content><divclass="CClass"><divclass=CTopicid=MainTopic><h1class=CTitle><aname="mxStylesheetCodec"></a>mxStylesheetCodec</h1><divclass=CBody><p>Codec for <ahref="../view/mxStylesheet-php.html#mxStylesheet"class=LClassid=link2onMouseOver="ShowTip(event, 'tt1', 'link2')"onMouseOut="HideTip('tt1')">mxStylesheets</a>. This class is created and registered dynamically at load time and used implicitely via <ahref="mxCodec-php.html#mxCodec"class=LClassid=link3onMouseOver="ShowTip(event, 'tt2', 'link3')"onMouseOut="HideTip('tt2')">mxCodec</a> and the <ahref="mxCodecRegistry-php.html#mxCodecRegistry"class=LClassid=link4onMouseOver="ShowTip(event, 'tt3', 'link4')"onMouseOut="HideTip('tt3')">mxCodecRegistry</a>.</p><!--START_ND_SUMMARY--><divclass=Summary><divclass=STitle>Summary</div><divclass=SBorder><tableborder=0cellspacing=0cellpadding=0class=STable><trclass="SMain"><tdclass=SEntry><ahref="#mxStylesheetCodec">mxStylesheetCodec</a></td><tdclass=SDescription>Codec for <ahref="../view/mxStylesheet-php.html#mxStylesheet"class=LClassid=link1onMouseOver="ShowTip(event, 'tt1', 'link1')"onMouseOut="HideTip('tt1')">mxStylesheets</a>. </td></tr><trclass="SGroup SIndent1"><tdclass=SEntry><ahref="#mxStylesheetCodec.Functions">Functions</a></td><tdclass=SDescription></td></tr><trclass="SFunction SIndent2 SMarked"><tdclass=SEntry><ahref="#mxStylesheetCodec.mxObjectCodec">mxObjectCodec</a></td><tdclass=SDescription>Constructs a new codec for the specified template object. </td></tr></table></div></div><!--END_ND_SUMMARY--></div></div></div>
<divclass="CFunction"><divclass=CTopic><h3class=CTitle><aname="mxStylesheetCodec.mxObjectCodec"></a>mxObjectCodec</h3><divclass=CBody><p>Constructs a new codec for the specified template object. The variables in the optional exclude array are ignored by the codec. Variables in the optional idrefs array are turned into references in the XML. The optional mapping may be used to map from variable names to XML attributes.</p><h4class=CHeading>Parameters</h4><tableborder=0cellspacing=0cellpadding=0class=CDescriptionList><tr><tdclass=CDLEntry>template</td><tdclass=CDLDescription>Prototypical instance of the object to be encoded/decoded.</td></tr><tr><tdclass=CDLEntry>exclude</td><tdclass=CDLDescription>Optional array of fieldnames to be ignored.</td></tr><tr><tdclass=CDLEntry>idrefs</td><tdclass=CDLDescription>Optional array of fieldnames to be converted to/from references.</td></tr><tr><tdclass=CDLEntry>mapping</td><tdclass=CDLDescription>Optional mapping from field- to attributenames.</td></tr></table></div></div></div>
</div><!--Content-->
<divid=Footer><ahref="http://www.naturaldocs.org">Generated by Natural Docs</a></div><!--Footer-->
<divclass=CToolTipid="tt1"><divclass=CClass>Defines the appearance of the cells in a graph. </div></div><divclass=CToolTipid="tt2"><divclass=CClass>XML codec for PHP object graphs. </div></div><divclass=CToolTipid="tt3"><divclass=CClass>A class to register codecs for objects.</div></div><!--END_ND_TOOLTIPS-->