Location: PHPKode > projects > MySQL-XML > docs/element.inc.html
<HTML>
<HEAD><TITLE>PHPXref : Detail view of element.inc</TITLE></HEAD>
<BODY BGCOLOR="#EEEEE0" TEXT="#330505" LINK="#801800" VLINK="#300540" ALINK="#FFFFFF">
<TABLE BORDER=0 WIDTH=100%>
	<TR BGCOLOR="553333"><TD ALIGN="RIGHT">
		<FONT SIZE=+2 COLOR="#FFFFFF"><I>PHPXref Example</I></FONT>
	</TD></TR>
</TABLE>
<BR><BR>


<!-- Generated by PHPXref 0.2 at Wed Oct 30 08:50:37 2002 -->
<!-- PHPXref (c) 2000,2001 Gareth Watts - hide@address.com -->
<!-- http://phpxref.sourceforge.net/ -->

<SCRIPT LANGUAGE="JavaScript">
<!--
ext='.html';
relbase='';
function jump() {
    if (document.search.funcname.value.length) {
		funcname=document.search.funcname.value.replace(/[()]/g,'');
		funcname=document.search.funcname.value.toLowerCase();
        window.location=relbase+'_functions/'+escape(escape(funcname))+ext;
	}
    if (document.search.varname.value.length) {
		varname=document.search.varname.value.replace(/[$]/g,'');
        window.location=relbase+'_variables/'+escape(escape(varname))+ext;
	}
    if (document.search.tablename.value.length) {
		tablename=document.search.tablename.value.toLowerCase();
        window.location=relbase+'_tables/'+escape(escape(tablename))+ext;
	}
    return false;
}

document.writeln('<TABLE ALIGN="RIGHT" BORDER=0>');
document.writeln('<TR BGCOLOR="#000000"><TD>');
document.writeln('<CENTER><FONT SIZE=-1 COLOR="#EEEEEE"><B>Lookup</B></FONT></CENTER>');
document.writeln('</TD></TR>');

document.writeln('<TR BGCOLOR="#DDDDD0"><TD ALIGN="RIGHT">');
document.writeln('<FONT SIZE=-1>');
document.writeln('<FORM NAME="search" onSubmit=\'return jump()\'>');
document.writeln('<A HREF="_functions/index.html">Function</A>: ');
document.writeln('<INPUT TYPE="TEXT" SIZE=10 VALUE="" NAME="funcname" onChange=\'jump()\'><BR>');
document.writeln('<A HREF="_variables/index.html">Variable</A>: ');
document.writeln('<INPUT TYPE="TEXT" SIZE=10 VALUE="" NAME="varname" onChange=\'jump()\'><BR>');
document.writeln('<A HREF="_tables/index.html">Table</A>: ');
document.writeln('<INPUT TYPE="TEXT" SIZE=10 VALUE="" NAME="tablename" onChange=\'jump()\'><BR>');
document.writeln('</FORM>');
document.writeln('</FONT>');
document.writeln('</TD></TR></TABLE>');
// -->
</SCRIPT>
<BR>Directory: <A HREF="./index.html">/</A><BR>
<H1>element.inc</H1>
Author(s): (none)<BR><BR>
<I>(no description)</I><BR><BR>
384 lines <FONT SIZE=-1>[<A HREF="element.inc.source.html">source</A>]</FONT><BR>
<P>Referenced <A HREF="element.inc.xref.html">1 times</A><BR>
<P>
Defines the following functions: <BR>
<UL>
<LI><A HREF="#search_attribute_get_xml">search_attribute_get_xml</A>()</LI>
<LI><A HREF="#internal_addresultstoarray">internal_addresultstoarray</A>()</LI>
<LI><A HREF="#search_attribute_with_depth_get_xml">search_attribute_with_depth_get_xml</A>()</LI>
<LI><A HREF="#become">become</A>()</LI>
<LI><A HREF="#getxml">getxml</A>()</LI>
<LI><A HREF="#update">update</A>()</LI>
<LI><A HREF="#addchild">addchild</A>()</LI>
<LI><A HREF="#getparent">getparent</A>()</LI>
<LI><A HREF="#addattribute">addattribute</A>()</LI>
<LI><A HREF="#delete">delete</A>()</LI>
<LI><A HREF="#add">add</A>()</LI>
<LI><A HREF="#findchildxml">findchildxml</A>()</LI>
<LI><A HREF="#getsubelementsbytype">getsubelementsbytype</A>()</LI>
<LI><A HREF="#getxmlwithoutchildren">getxmlwithoutchildren</A>()</LI>
<LI><A HREF="#findchildid">findchildid</A>()</LI>
</UL>
<HR><BR>
<H3>Function Guide</H3>
<TABLE BORDER=0><TR BGCOLOR="#CCCCC0"><TD>
<A NAME="search_attribute_get_xml" HREF="element.inc.source.html#l27"><FONT SIZE=+1><B>search_attribute_get_xml</B></FONT></A>(<A HREF="_variables/name.html">$name</A>, <A HREF="_variables/value.html">$value</A>, <A HREF="_variables/recursive.html">$recursive</A> = false)&nbsp;&nbsp;
<A HREF="_functions/search_attribute_get_xml.html"><FONT SIZE=-1>X-Ref</FONT></A>
</TD></TR><TR BGCOLOR="#DDDDD0"><TD><I>No description</I></TD></TR></TABLE>

<BR><BR>
<TABLE BORDER=0><TR BGCOLOR="#CCCCC0"><TD>
<A NAME="internal_addresultstoarray" HREF="element.inc.source.html#l54"><FONT SIZE=+1><B>internal_addresultstoarray</B></FONT></A>(<A HREF="_variables/results.html">$results</A>, &amp;<A HREF="_variables/array.html">$array</A>)&nbsp;&nbsp;
<A HREF="_functions/internal_addresultstoarray.html"><FONT SIZE=-1>X-Ref</FONT></A>
</TD></TR><TR BGCOLOR="#DDDDD0"><TD><I>No description</I></TD></TR></TABLE>

<BR><BR>
<TABLE BORDER=0><TR BGCOLOR="#CCCCC0"><TD>
<A NAME="search_attribute_with_depth_get_xml" HREF="element.inc.source.html#l61"><FONT SIZE=+1><B>search_attribute_with_depth_get_xml</B></FONT></A>(<A HREF="_variables/name.html">$name</A>, <A HREF="_variables/value.html">$value</A>, <A HREF="_variables/depth.html">$depth</A>)&nbsp;&nbsp;
<A HREF="_functions/search_attribute_with_depth_get_xml.html"><FONT SIZE=-1>X-Ref</FONT></A>
</TD></TR><TR BGCOLOR="#DDDDD0"><TD><I>No description</I></TD></TR></TABLE>

<BR><BR>
<TABLE BORDER=0><TR BGCOLOR="#CCCCC0"><TD>
<A NAME="become" HREF="element.inc.source.html#l134"><FONT SIZE=+1><B>become</B></FONT></A>(<A HREF="_variables/id.html">$id</A>)&nbsp;&nbsp;
<A HREF="_functions/become.html"><FONT SIZE=-1>X-Ref</FONT></A>
</TD></TR><TR BGCOLOR="#DDDDD0"><TD><I>No description</I></TD></TR></TABLE>

<BR><BR>
<TABLE BORDER=0><TR BGCOLOR="#CCCCC0"><TD>
<A NAME="getxml" HREF="element.inc.source.html#l178"><FONT SIZE=+1><B>getxml</B></FONT></A>(<A HREF="_variables/recursive.html">$recursive</A> = false)&nbsp;&nbsp;
<A HREF="_functions/getxml.html"><FONT SIZE=-1>X-Ref</FONT></A>
</TD></TR><TR BGCOLOR="#DDDDD0"><TD><I>No description</I></TD></TR></TABLE>

<BR><BR>
<TABLE BORDER=0><TR BGCOLOR="#CCCCC0"><TD>
<A NAME="update" HREF="element.inc.source.html#l207"><FONT SIZE=+1><B>update</B></FONT></A>()&nbsp;&nbsp;
<A HREF="_functions/update.html"><FONT SIZE=-1>X-Ref</FONT></A>
</TD></TR><TR BGCOLOR="#DDDDD0"><TD><I>No description</I></TD></TR></TABLE>

<BR><BR>
<TABLE BORDER=0><TR BGCOLOR="#CCCCC0"><TD>
<A NAME="addchild" HREF="element.inc.source.html#l223"><FONT SIZE=+1><B>addchild</B></FONT></A>(&amp;<A HREF="_variables/child.html">$child</A>)&nbsp;&nbsp;
<A HREF="_functions/addchild.html"><FONT SIZE=-1>X-Ref</FONT></A>
</TD></TR><TR BGCOLOR="#DDDDD0"><TD><I>No description</I></TD></TR></TABLE>

<BR><BR>
<TABLE BORDER=0><TR BGCOLOR="#CCCCC0"><TD>
<A NAME="getparent" HREF="element.inc.source.html#l233"><FONT SIZE=+1><B>getparent</B></FONT></A>()&nbsp;&nbsp;
<A HREF="_functions/getparent.html"><FONT SIZE=-1>X-Ref</FONT></A>
</TD></TR><TR BGCOLOR="#DDDDD0"><TD><I>No description</I></TD></TR></TABLE>

<BR><BR>
<TABLE BORDER=0><TR BGCOLOR="#CCCCC0"><TD>
<A NAME="addattribute" HREF="element.inc.source.html#l239"><FONT SIZE=+1><B>addattribute</B></FONT></A>(<A HREF="_variables/attribute.html">$attribute</A>)&nbsp;&nbsp;
<A HREF="_functions/addattribute.html"><FONT SIZE=-1>X-Ref</FONT></A>
</TD></TR><TR BGCOLOR="#DDDDD0"><TD><I>No description</I></TD></TR></TABLE>

<BR><BR>
<TABLE BORDER=0><TR BGCOLOR="#CCCCC0"><TD>
<A NAME="delete" HREF="element.inc.source.html#l246"><FONT SIZE=+1><B>delete</B></FONT></A>()&nbsp;&nbsp;
<A HREF="_functions/delete.html"><FONT SIZE=-1>X-Ref</FONT></A>
</TD></TR><TR BGCOLOR="#DDDDD0"><TD><I>No description</I></TD></TR></TABLE>

<BR><BR>
<TABLE BORDER=0><TR BGCOLOR="#CCCCC0"><TD>
<A NAME="add" HREF="element.inc.source.html#l269"><FONT SIZE=+1><B>add</B></FONT></A>()&nbsp;&nbsp;
<A HREF="_functions/add.html"><FONT SIZE=-1>X-Ref</FONT></A>
</TD></TR><TR BGCOLOR="#DDDDD0"><TD><I>No description</I></TD></TR></TABLE>

<BR><BR>
<TABLE BORDER=0><TR BGCOLOR="#CCCCC0"><TD>
<A NAME="findchildxml" HREF="element.inc.source.html#l307"><FONT SIZE=+1><B>findchildxml</B></FONT></A>(<A HREF="_variables/element_type.html">$element_type</A>, <A HREF="_variables/attributes.html">$attributes</A> = null)&nbsp;&nbsp;
<A HREF="_functions/findchildxml.html"><FONT SIZE=-1>X-Ref</FONT></A>
</TD></TR><TR BGCOLOR="#DDDDD0"><TD><I>No description</I></TD></TR></TABLE>

<BR><BR>
<TABLE BORDER=0><TR BGCOLOR="#CCCCC0"><TD>
<A NAME="getsubelementsbytype" HREF="element.inc.source.html#l322"><FONT SIZE=+1><B>getsubelementsbytype</B></FONT></A>(<A HREF="_variables/name.html">$name</A>)&nbsp;&nbsp;
<A HREF="_functions/getsubelementsbytype.html"><FONT SIZE=-1>X-Ref</FONT></A>
</TD></TR><TR BGCOLOR="#DDDDD0"><TD><I>No description</I></TD></TR></TABLE>

<BR><BR>
<TABLE BORDER=0><TR BGCOLOR="#CCCCC0"><TD>
<A NAME="getxmlwithoutchildren" HREF="element.inc.source.html#l335"><FONT SIZE=+1><B>getxmlwithoutchildren</B></FONT></A>()&nbsp;&nbsp;
<A HREF="_functions/getxmlwithoutchildren.html"><FONT SIZE=-1>X-Ref</FONT></A>
</TD></TR><TR BGCOLOR="#DDDDD0"><TD><I>No description</I></TD></TR></TABLE>

<BR><BR>
<TABLE BORDER=0><TR BGCOLOR="#CCCCC0"><TD>
<A NAME="findchildid" HREF="element.inc.source.html#l355"><FONT SIZE=+1><B>findchildid</B></FONT></A>(<A HREF="_variables/element_type.html">$element_type</A>, <A HREF="_variables/attributes.html">$attributes</A> = null)&nbsp;&nbsp;
<A HREF="_functions/findchildid.html"><FONT SIZE=-1>X-Ref</FONT></A>
</TD></TR><TR BGCOLOR="#DDDDD0"><TD><I>No description</I></TD></TR></TABLE>

<BR><BR>

<BR><HR>
<TABLE WIDTH=100%>
	<TR><TD>Generated: Wed Oct 30 08:50:37 2002</TD>
	<TD ALIGN="RIGHT"><I>Generated by <A HREF="http://phpxref.sourceforge.net/">PHPXref 0.2</A></I></TD>
	</TR>
</TABLE>
</BODY></HTML>
Return current item: MySQL-XML