Location: PHPKode > scripts > XS PHP Library > xs-php-library/doc/io/_dir_inc_php.html
<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.0 Frameset//EN''http://www.w3.org/TR/REC-html40/frameset.dtd'>
<!--NewPage-->
<HTML>
<HEAD>
	<!-- Generated by PhpDoc date: 'Mon, 11 Nov 2002 23:46:23 +0100' -->
	<TITLE>Docs for page dir.inc.php</TITLE>
<LINK REL ='stylesheet' TYPE='text/css' HREF='stylesheet.css' TITLE='Style'>
</HEAD>
<BODY BGCOLOR='white'>

<h2>Page: Program_Root/dir.inc.php</h2>
<!-- ========== Info from phpDoc block ========= -->
<b></b>
<pre>

</pre>
<UL>
	
	<LI><b>Package</b> - <CODE>io</CODE></LI>
	
</UL>

<br>
Classes defined on this page: <a href="../io/Dir.html">Dir</a><br>
<!-- =========== CONSTANT SUMMARY =========== -->
<A NAME='constant_summary'><!-- --></A>
<TABLE BORDER='1' CELLPADDING='3' CELLSPACING='0' WIDTH='100%'>
	<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>
		<TD>
			<FONT SIZE='+2'><B>Include Statements Summary</B></FONT>
		</TD>
	</TR>
</TABLE>
<TABLE BORDER='1' CELLPADDING='3' CELLSPACING='0' WIDTH='100%'>
	<THEAD>
		<TR><TH>INCLUDE TYPE</TH><TH>INCLUDED FILENAME</TH><TH>DESCRIPTION</TH></TR>
	</THEAD>
	<TBODY>
		
	</TBODY>
</TABLE>
<br>

<br>
<!-- =========== CONSTANT SUMMARY =========== -->
<A NAME='global_summary'><!-- --></A>
<TABLE BORDER='1' CELLPADDING='3' CELLSPACING='0' WIDTH='100%'>
	<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>
		<TD>
			<FONT SIZE='+2'><B>Global Variable Summary</B></FONT>
		</TD>
	</TR>
</TABLE>
<TABLE BORDER='1' CELLPADDING='3' CELLSPACING='0' WIDTH='100%'>
	<THEAD>
		<TR><TH>VARIABLE NAME</TH><TH>VARIABLE VALUE</TH><TH>DESCRIPTION</TH></TR>
	</THEAD>
	<TBODY>
		
		<TR BGCOLOR='white' CLASS='TableRowColor'>
			<TD><A HREF='_dir_inc_php.html#%24dir_sortOrder'>$dir_sortOrder</A></TD>
			<TD>&quot;asc&quot;</TD>
			<TD>The sort order used during subdirectory sorting operations.</TD>
		</TR>
		
	</TBODY>
</TABLE>
<br>


<br>
<!-- =========== CONSTANT SUMMARY =========== -->
<A NAME='constant_summary'><!-- --></A>
<TABLE BORDER='1' CELLPADDING='3' CELLSPACING='0' WIDTH='100%'>
	<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>
		<TD>
			<FONT SIZE='+2'><B>Constant Summary</B></FONT>
		</TD>
	</TR>
</TABLE>
<TABLE BORDER='1' CELLPADDING='3' CELLSPACING='0' WIDTH='100%'>
	<THEAD>
		<TR><TH>CONSTANT NAME</TH><TH>CONSTANT VALUE</TH><TH>DESCRIPTION</TH></TR>
	</THEAD>
	<TBODY>
		
	</TBODY>
</TABLE>
<br>

<br>
<!-- =========== Function SUMMARY =========== -->
<A NAME='Function_summary'><!-- --></A>
<TABLE BORDER='1' CELLPADDING='3' CELLSPACING='0' WIDTH='100%'>
	<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>
		<TD>
			<FONT SIZE='+2'><B>Function Summary</B></FONT>
		</TD>
	</TR>

	
	<!-- =========== Summary =========== -->
	<TR BGCOLOR='white' CLASS='TableRowColor'>
		<TD>
			<CODE><B><A HREF='_dir_inc_php.html#dir_cmp'>int dir_cmp ( $obj1, $obj2 )</A></B></CODE>
			<BR>
			<blockquote> Performs directories comparison. </blockquote>
		</TD>
	</TR>
	
</TABLE>

<br>
<!-- ============ CONSTANT DETAIL =========== -->

<A NAME='constant_detail'></A>
<TABLE BORDER='1' CELLPADDING='3' CELLSPACING='0' WIDTH='100%'>
	<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>
		<TD>
			<FONT SIZE='+2'><B>Include Statements Detail</B></FONT>
		</TD>
	</TR>
</TABLE>



<br>
<!-- ============ CONSTANT DETAIL =========== -->

<A NAME='global_detail'></A>
<TABLE BORDER='1' CELLPADDING='3' CELLSPACING='0' WIDTH='100%'>
	<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>
		<TD>
			<FONT SIZE='+2'><B>Global Variable Detail</B></FONT>
		</TD>
	</TR>
</TABLE>


<A NAME='%24dir_sortOrder'><!-- --></A><H3>$dir_sortOrder</H3>
<P><B>$dir_sortOrder = ->&quot;asc&quot;<-</B></P>

	<!-- ========== Info from phpDoc block ========= -->
<b>The sort order used during subdirectory sorting operations.</b>
<pre>
This variable shouldn't be modified. It is used internally by
 <a href="../io/Dir.html#read">Dir::read()</a>, <a href="../io/Dir.html#readDirs">Dir::readDirs()</a> methods.
</pre>
<UL>
	
</UL>

<HR>


<br>
<!-- ============ CONSTANT DETAIL =========== -->

<A NAME='constant_detail'></A>
<TABLE BORDER='1' CELLPADDING='3' CELLSPACING='0' WIDTH='100%'>
	<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>
		<TD>
			<FONT SIZE='+2'><B>Constant Detail</B></FONT>
		</TD>
	</TR>
</TABLE>



<br>
<!-- ============ FUNCTION DETAIL =========== -->

<A NAME='function_detail'></A>
<TABLE BORDER='1' CELLPADDING='3' CELLSPACING='0' WIDTH='100%'>
	<TR BGCOLOR='#CCCCFF' CLASS='TableHeadingColor'>
		<TD>
			<FONT SIZE='+2'><B>Function Detail</B></FONT>
		</TD>
	</TR>
</TABLE>


<A NAME='dir_cmp'><!-- --></A><H3>dir_cmp</H3>
<P><B>int dir_cmp ( $obj1, $obj2 )</B></P>
<P></P>
<!-- ========== Info from phpDoc block ========= -->
<b>Performs directories comparison.</b>
<pre>
This function is used internally by <a href="../io/Dir.html#read">Dir::read()</a>,
 <a href="../io/Dir.html#readDirs">Dir::readDirs()</a>  methods and it shouldn't be used outside these
 methods. Returns &lt; 0 if $obj1-&gt;_root is less than $obj2-&gt;_root; &gt; 0
 if $obj1-&gt;_root is greater than $obj2-&gt;_root, and 0 if they are equal.
</pre>
<DL>
	<DT>Function Parameters:</DT>
	
	<DD><CODE>- <i>string $obj1</i>: the Dir object.</CODE></DD>
	
	<DD><CODE>- <i>string $obj2</i>: the Dir object.</CODE></DD>
	

	<DT>Function Info:</DT>
	
	<DD><b>Access</b> - <CODE>private</CODE></DD>
	
	<DD><b>Author</b> - <CODE>Robert Bala &lt;<a href="mailto:hide@address.com">hide@address.com</a>&gt;</CODE></DD>
	
</DL>

<HR>


<br>
</HTML>
Return current item: XS PHP Library